iso639ToLangCode

An helper function that converts an ISO 639-1 (2-letter) language code to the corresponding LanguageCode value. * note: If a str does not represent a valid (2-letter) language code, the function returns the LanguageCode.DEFAULT_LANGUAGE value. note: You can use the special "IC" (or "ic") language code if you want to get/search a country by its ISO 3166 Alpha 3-country code.

Return

The converted language code.

Since

v3.6

Parameters

str

An ISO 639-1 Language Code (@seehttp://www.geo-guide.de/info/tools/languagecode.html)