language Tag
Defines the current language and region used for localizing country names.
This value should be a valid IETF BCP 47 language tag (e.g., "en-US", "fr-FR", "zh-CN").
It is initialized using the device's default locale when the object is first created.
It can be updated manually at runtime (e.g.,
Countries.languageTag = "fr-FR") to change the localization dynamically.
Important:
Update
languageTagbefore accessing any country data likeCountries.ADorCountries.ALL_COUNTRIESto ensure names are correctly localized.Supported format is
language-country, where:language= ISO 639 language code (e.g., "en" for English, "fr" for French)country= ISO 3166 country code (e.g., "US" for United States, "FR" for France)