How to get address translations
AddressTranslations allows you to retrieve all name translations and
alternative names for address components in all available languages. You specify which
address components to translate using the AddressTranslations request
parameter.
Potential use cases
-
Multilingual applications: Display address components in multiple languages for international users.
-
Localization: Show both local-language and user-preferred-language names for cities and regions.
Examples
Developer tips
-
Valid values for
AddressTranslationsareDistrict,Locality,Region, andSubRegion. -
Each translation includes a
Typefield indicating the kind of name variant:BaseName(official name),Abbreviation,Exonym(translation to another language),Shortened, orSynonym. -
The
Primaryfield indicates the primary name variant for a given language.