tagGetLanguageCodeIso6392B

Returns three-letter ISO-639-2 "bibliographic" language code given a two-letter ISO-639-1 language code or a three-letter ISO-639-2 language code (both are accepted for convenience).

The "bibliographic" code is derived from the English name of the language (e.g. "ger" for German instead of "de" or "deu"). In most scenarios, the "terminological" codes are preferred.

Language codes are case-sensitive and expected to be lower case.

string
tagGetLanguageCodeIso6392B
(
string langCode
)

Parameters

langCode string

ISO-639 language code (e.g. "deu" or "ger" or "de")

Return Value

Type: string

three-letter ISO-639-2 language code string that maps to lang_code, or NULL if no mapping is known. The returned string must not be modified or freed.