Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit eb44f4f

Browse files
committed
Updated language guidance
Thanks Sean! This incorporates #100
1 parent fe8774b commit eb44f4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: schema.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ Field | title
266266
**Cardinality** | (0,n)
267267
**Required** | No
268268
**Accepted Values** | Array of strings
269-
**Usage Notes** | Must be a value from [RFC 5646](http://tools.ietf.org/html/rfc5646)
270-
**Example** | `{"language":["en","es"]}`
269+
**Usage Notes** | This should adhere to the [RFC 5646](http://tools.ietf.org/html/rfc5646) standard. http://rishida.net/utils/subtags/ provides a good tool for checking and verifying language codes. A language tag is comprised of either one or two parts, the language subtag (such as en for English, sp for Spanish, wo for Wolof) and the regional subtag (such as US for United States, GB for Great Britain, MX for Mexico), separated by a hyphen. Regional subtags should only be provided when needed to distinguish a language tag from another one (such as American vs. British English).
270+
**Examples** | `{"language":"en-US"}` `{"language":"en-GB"}` `{"language":"jp"}` `{"language":"es-MX, wo, nv, en-US"}`
271271

272272
{: .table .table-striped}
273273
**Field** | **dataQuality**

0 commit comments

Comments
 (0)