Type alias Locales
The supported ISO 639 language codes for PickerBuilder.setLocale
.
Signature
type Locales = 'af'|'am'|'ar'|'bg'|'bn'|'ca'|'cs'|'da'|'de'|'el'|'en'|
'en-GB'|'es'|'es-419'|'et'|'eu'|'fa'|'fi'|'fil'|'fr'|'fr-CA'|'gl'|'gu'|'hi'|
'hr'|'hu'|'id'|'is'|'it'|'iw'|'ja'|'kn'|'ko'|'lt'|'lv'|'ml'|'mr'|'ms'|'nl'|
'no'|'pl'|'pt-BR'|'pt-PT'|'ro'|'ru'|'sk'|'sl'|'sr'|'sv'|'sw'|'ta'|'te'|'th'|
'tr'|'uk'|'ur'|'vi'|'zh-CN'|'zh-HK'|'zh-TW'|'zu';
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-23 UTC.
[null,null,["Last updated 2024-09-23 UTC."],[[["`PickerBuilder.setLocale` uses ISO 639 language codes to specify the desired locale for the picker."],["The supported locales include a wide range of languages, such as 'en', 'es', 'fr', 'de', 'zh-CN', and many others, as listed in the signature."],["The `Locales` type defines all acceptable language code values for this method."]]],[]]