Hreflang Script Subtag Helper (zh-Hans, zh-Hant)
Explains script subtags in language tags, shows the likely full form from CLDR and validates the script code.
Use the tool
Why this tool exists
Chinese is written in Simplified and Traditional characters, and Serbian in Cyrillic and Latin. Google documents zh-Hans and zh-Hant, and says that without a script it derives one from the country, so zh-TW means Traditional. You can also combine script and region, as in zh-Hans-US.
For each tag the tool shows what your browser's CLDR data considers the likely full form, whether the script is written in the tag, and whether the script code exists in ISO 15924. Support in other search engines is not verified here.
How to use it
- Enter tags one per line.
- Read the likely full form and the script note.
- Add a script only if you have versions in different scripts of one language.
- Validate the final set with the code checker.
Frequently asked questions
When do I need a script?
When the same language has versions in different scripts and the region does not settle it.
Is zh-CN enough?
Google derives Simplified from CN, so usually yes.
Who supports script subtags?
Google documents them; others are not checked here.
Where does the full form come from?
Intl.Locale.maximize in your browser.