Skip to content
On this page

TypeScript supports a number of languages, however this cannot be set via the tsconfig.json, only via the host environment or the CLI flag --locale. E.g. tsc --locale ru.

Locales supported as of TypeScript 3.7

NameLocale
Brazilian Portuguesepr-BR
Chinese (Simplified)zh-TW
Chinese (Traditional)zh-CN
Czechcs-CZ
English (US)en-US
Frenchfr-FR
Germande-DE
Italianit-IT
Japaneseja-JP
Koreanko-KR
Polishpl-PL
Russianru-RU
Spanishes-ES
Turkishtr-TR