We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f04f620 commit 405f040Copy full SHA for 405f040
reference/constraints/Language.rst
@@ -1,7 +1,8 @@
1
Language
2
========
3
4
-Validates that a value is a valid `ISO 639-1`_ language code.
+Validates that a value is a valid language *Unicode language identifier*
5
+(e.g. ``fr`` or ``zh-Hant``).
6
7
+----------------+------------------------------------------------------------------------+
8
| Applies to | :ref:`property or method <validation-property-target>` |
@@ -81,5 +82,3 @@ message
81
82
**type**: ``string`` **default**: ``This value is not a valid language.``
83
84
This message is shown if the string is not a valid language code.
-
85
-.. _`ISO 639-1`: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
0 commit comments