Google Business Messages 功能將於 2024 年 7 月 31 日終止服務。請按
這裡瞭解詳情。
語言代碼
語言代碼是根據地區設定的語言設定,可決定要顯示哪些對話設定和字串。
使用者會透過裝置上的設定指定語言代碼。他們可以隨時變更這項設定,包括在與 Business Messaging 服務專員對話時。
商家訊息服務的服務專員或地點也可以指定支援哪些語言代碼,並設定通常用於通訊的預設語言代碼。
Business Messages 會比較使用者的語言代碼和服務專員的語言代碼,以找出最相符的語言代碼,稱為「解析語言代碼」。Business Messages 會使用已解析的語言代碼,選取要顯示的對話設定和字串。為維持一致的使用者體驗,建議你讓服務專員以已解析的語言代碼進行通訊。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["Locales are location-based language settings that users set on their devices to determine conversational preferences."],["Business Messages agents can specify supported locales and a default communication language."],["A resolved locale, determined by comparing user and agent preferences, dictates displayed conversational elements."],["Agents should communicate using the resolved locale for a consistent and seamless user experience."]]],[]]