For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Function getLanguageInfoFromCode
-
getLanguageInfoFromCode(
languageCode: string,
languageDictionary?: { [k: string]: LanguageInfo },
): LanguageInfo | nullParameters
- languageCode: string
OptionallanguageDictionary: { [k: string]: LanguageInfo }
Returns LanguageInfo | null
Get the language info from a provided 2-character iso code. By default, the language dictionary to look into is the one defined in this library, but another one could be provided Returns
nullif not found.