系統會使用在 Google 助理設定中指定的語言,以及裝置設定中的地區來建立語言代碼。這些資訊組合需要形成支援的語言代碼。舉例來說,如果裝置和 Google 助理裝置設為 BR 區域和設為 en-US 的 Google 助理裝置,就會產生en-BR 語言代碼,但 Actions on Google 不支援這項功能。
根據預設,動作支援所有區域 (國家/地區)。將 Google 助理語言代碼設為其中一個區域的使用者,將能夠使用您的動作。
使用者與動作互動時,系統也會使用使用者的 Google 助理語言代碼,決定要用哪種文字轉語音 (TTS) 語音執行動作。您可以在「Develop」(開發) >「Invocation」(叫用) >「Settings」(設定) 底下選擇特定的 TTS 語音,藉此覆寫這項預設行為。
[[["容易理解","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"]],["上次更新時間:2023-12-01 (世界標準時間)。"],[[["Actions on Google can be localized to offer customized experiences based on user language and regional settings."],["Users' language and region settings combine to form a locale, determining the experience, including the TTS voice used."],["Developers can add languages and locales, edit elements like invocations and prompts, and manage localization settings through the Actions console."],["Actions can be targeted to specific regions for controlled availability."],["Localized Actions can be tested using language and location simulation in the Actions simulator."]]],["Actions for Google Assistant can be tailored for different languages and regions. Developers can add languages and locales via the Actions Console's \"Languages\" tab. The \"Localization\" tab allows modification of language-specific settings, prompts, training phrases, and type synonyms. Publishing permits customizing Action details based on language/locale, location targeting, and Text-to-Speech (TTS) voice. During development, language and location simulation are available for testing. Locale customization requires project resubmission for approval.\n"]]