[][src]Module locale_codes::language

Codes for the representation of names of languages.

These codes are widely used in many different disciplines, for example for bibliographic purposes, in the library community, as well as for computerized systems, and the representation of different language versions on websites.

Using a code rather than the name of a language has many benefits as some languages are referred to by different groups in different ways, and two unrelated languages may share the same or similar name.

  • Part 1 (ISO 639-1:2002) provides a 2 letter code that has been designed to represent most of the major languages of the world.
  • Part 2 (ISO 639-2:1998) provides a 3 letter code, which gives more possible combinations, so ISO 639-2:1998 can cover more languages.
  • Part 3 (ISO 639-3:2007) provides a 3 letter code and aims to give as complete a listing of languages as possible, including living, extinct and ancient languages.
  • Part 4 (ISO 639-4:2010) gives the general principles of language coding and lays down guidelines for the use of ISO 639.
  • Part 5 (ISO 639-5:2008) provides a 3 letter code for language families and groups (living and extinct).

Source - ISO 639

The data used here is taken from SIL International.

See also: Native names for languages.

Structs

LanguageInfo

A representation of registered language data maintained by ISO.

Enums

LanguageClass

The ISO 639 data identifies 3 classes of languages, each language is one of these classes only.

LanguageType

The type of the language in this this meaning is more concerning it's current usage.

Functions

all_codes
lookup