Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit405f040

Browse files
committed
Update language field/constraint
1 parentf04f620 commit405f040

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎reference/constraints/Language.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
Language
22
========
33

4-
Validates that a value is a valid `ISO 639-1`_ language code.
4+
Validates that a value is a valid language *Unicode language identifier*
5+
(e.g. ``fr`` or ``zh-Hant``).
56

67
+----------------+------------------------------------------------------------------------+
78
| Applies to|:ref:`property or method<validation-property-target>`|
@@ -81,5 +82,3 @@ message
8182
**type**: ``string`` **default**: ``This value is not a valid language.``
8283

8384
This message is shown if the string is not a valid language code.
84-
85-
.. _`ISO 639-1`:http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp