On this page

Function getLanguageInfoFromCode

  • 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 null if not found.

    Parameters

    • languageCode: string
    • OptionallanguageDictionary: { [k: string]: LanguageInfo }

    Returns LanguageInfo | null

Was this helpful?
SDK JS
Reference
getLanguageInfoFromCode