IETF language tag

An IETF BCP 47 language tag is a standardized code or tag that is used to identify human languages in the Internet. The tag structure has been standardized by the Internet Engineering Task Force (IETF) in Best Current Practice (BCP) 47; the subtags are maintained by the IANA Language Subtag Registry.[1][2][3]

To distinguish language variants for countries, regions, or writing systems (scripts), IETF language tags combine subtags from other standards such as ISO 639, ISO 15924, ISO 3166-1 and UN M.49. For example, the tag "en" stands for English; "es-419" for Latin American Spanish; "rm-sursilv" for Romansh Sursilvan; "sr-Cyrl" for Serbian written in Cyrillic script; "nan-Hant-TW" for Min Nan Chinese using traditional Han characters, as spoken in Taiwan; and "gsw-u-sd-chzh" for Zürich German. In its accordance with ISO 639-3, however, it does not provide codes for distinguishing between Arabic-based scripts, and maintains two duplicate codes for Punjabi, as well as a number of dubious or non-existent language distinctions made by its parents standard.[4]

It is used by computing standards such as HTTP,[5] HTML,[6] XML[7] and PNG.[8]󠀁

  1. ^ "Language Subtag Registry". Internet Assigned Numbers Authority. Retrieved 2018-12-05.
  2. ^ "Language Tag Extensions Registry". Internet Assigned Numbers Authority. Retrieved 2018-12-06.
  3. ^ "IANA — Protocol Registries". Retrieved 28 July 2015.
  4. ^ Ewell, Doug (2022-08-12). "Re: [Ietf-languages] Punjabi language code fix recommendations". Retrieved 2022-08-12.
  5. ^ Fielding, Roy T.; Reschke, Julian F., eds. (June 2014). "Language Tags". Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content. sec. doi:10.17487/RFC7231. RFC 7231.
  6. ^ "Language information and text direction". Retrieved 28 July 2015.
  7. ^ "Extensible Markup Language (XML) 1.0 (Fifth Edition)". Retrieved 28 July 2015.
  8. ^ "Portable Network Graphics (PNG) Specification (Second Edition)". Retrieved 28 July 2015.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne