[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Method PickerBuilder.setLocale\n\nSet the locale for the picker. The locale is an ISO 639 language code. If the\nlanguage is not supported, en-US is used.\n\nExamples\n--------\n\nBasic usage \n\n const builder = new google.pickerPickerBuilder()\n .setLocale('ES_419');\n\nSet locale from navigator languages \n\n const builder = new google.pickerPickerBuilder()\n .setLocale(navigator.languages[0]);\n\nSee\n[Navigator.languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)\nfor more information.\n\nSignature\n---------\n\n setLocale(locale: Locales): PickerBuilder;\n\nDetails\n-------\n\n| Optional | No |\n| Final | No |\n| Protected | No |\n| Static | No |\n|-----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|----------|-----------------------------|----------|-------------|\n| `locale` | [Locales](./picker.locales) | No | |\n\nReturns\n-------\n\n[PickerBuilder](./picker.pickerbuilder)"]]