The entries in the registry follow certain conventions with regard to upper and lower letter-casing. Language- extlang- script- region- variant-extension- privateuse We will work our way through these and how they are used in the The list below shows the various types of subtag that are available. If you have been using RFC 1766, RFC 3066, or RFC 4646 you do not need to make any changes to your tags. RFC 3066 essentially allowed you to compose language tags that were either a languageĬode on its own, a language code plus a country code, or one of a small number of specially registered values in the IANA language tag registry.Īlthough it provides some additional options for identifying common language variations, RFC 5646 includes all of there is more flexibility around the potential components of a language tag.subtags have fixed positions and lengths, which makes for easier matching of language tags.there is just one place to look for valid subtags, the new IANA.Some of the key differences between RFC 5646 and earlier specifications such as RFC 3066 are: The remainder of this article provides additional detail on how to construct language tags. Essentially, this says: I do not want to associate any language with this information. HTML and XML also provide a means to prevent inheritance of language using the empty string, ie. There is a particular reason that you need to say that this is Japanese as spoken in Japan, rather than elsewhere. For instance, use ja for Japanese and not ja-JP, unless Subtags except where they add useful distinguishing information. The golden rule when creating language tags is to keep the tag as short as possible. These will be explained briefly in the next section, and includeĮxtended language, script, variant, extension and private-use subtags. RFC 5646 also allows for a number of additional subtags, where needed. Often this is followed by a two-letter or three-digit region Most language tags consist of a two- or three-letter language subtag. What follows here provides more of a high-level overview of the syntax and concepts involved in language tags, as described by BCP 47. Note! If you want step-by-step guidance for choosing a language tag, you should read Choosing a language tag.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |