Localizing Your Vocabulary for Chinese Dialects
Apply emphasis markers to your pronunciation tips to assist Siri with Chinese dialects.
Overview
For specific localizations, additional rules apply when specify values for the VocabularyItemPronunciation key:
zh_CN: China Mandarin localization:
Tones are represented using the numbers 1, 2, 3, 4, and 5. Use the number 5 for the neutral tone. Place tones at the end of the Pinyin representation of each character. For example,
ping2 guo3.You can replace the special character
üin Pinyin withyu. For example,nüwould becomenyu.zh_TW: Taiwan Mandarin localization:
Tones are represented using the numbers 1, 2, 3, 4, and 5. Use the number 5 for the neutral tone. Place tones at the end of the Pinyin representation of each character. For example, 蘇打綠 becomes
su1 da3 lyu4.zh_HK: Hong Kong Cantonese localization:
Use the Jyutping 粤语拼音 (粤拼) romanization system for Cantonese.
Tones are represented using the numbers 1, 2, 3, 4, 5, and 6. Place tone numbers at the end of the Jyutping. For example, 的士 becomes
dik1 si2, and 短訊 becomesdyun2 seon2.
See Also
Articles
Adding User Interactivity with Siri Shortcuts and the Shortcuts AppDefining Relevant Shortcuts for the Siri Watch FaceDeleting Donated ShortcutsDispatching intents to handlersImproving Siri Media Interactions and App SelectionImproving interactions between Siri and your messaging appRegistering Custom Vocabulary with SiriKitConfirming the Details of an IntentHandling an IntentResolving the Parameters of an IntentGenerating a List of Ride OptionsHandling the Ride-Booking IntentsDonating ReservationsSpecifying Synonyms for Your App NameIntent Phrases