Skip to content

Supported languages

The following languages are supported for PDF and HTML-based output.

Note: While language codes listed below use the conventional capitalization style of "aa-BB" and "aa-Script-BB", DITA-OT processing is not case sensitive when reading these values from the @xml:lang attribute.

Language Language code Notes
العربية (Arabic) ar or ar-EG Defaults to right-to-left presentation.
Беларуская (Belarusian) be or be-BY  
Bosanski (Bosnian) bs or bs-BA  
Български (Bulgarian) bg or bg-BG  
Català (Catalan) ca-ES  
简体中文 (Simplified Chinese) zh-CN or zh-Hans PDF index is not properly collated by default.
繁體中文 (Traditional Chinese) zh-TW or zh-Hant PDF index is not properly collated by default.
Hrvatski (Croatian) hr or hr-HR  
Čeština (Czech) cs or cs-CZ  
Dansk (Danish) da or da-DK  
Nederlands (Dutch) nl or nl-NL Subset of generated text also available for Belgian Dutch (nl-BE)
English (US) en or en-US Subset of generated text also available for British English (en-GB) and Canadian English (en-CA)
Eesti (Estonian) et or et-EE  
Suomi (Finnish) fi or fi-FI  
Français (French) fr or fr-FR Subset of generated text also available for Belgian French (fr-BE), Canadian French (fr-CA), and Swiss French (fr-CH)
Deutsch (German) de or de-DE Subset of generated text also available for Swiss German (de-CH)
Ελληνικά (Greek) el or el-GR  
עברית (Hebrew) he or he-IL Defaults to right-to-left presentation.
हिन्दी (Hindi) hi or hi-HI  
Magyar (Hungarian) hu or hu-HU  
Íslenska (Icelandic) is or is-IS  
Bahasa Indonesia (Indonesian) id or id-ID  
Italiano (Italian) it or it-IT Subset of generated text also available for Swiss Italian (it-CH)
日本語 (Japanese) ja or ja-JP PDF index is not properly collated by default.
Қазақша (Kazakh) kk or kk-KZ  
한국어 (Korean) ko or ko-KR  
Latviešu (Latvian) lv or lv-LV  
Lietuvių (Lithuanian) lt or lt-LT  
Македонски (Macedonian) mk or mk-MK  
Bahasa Melayu (Malay) ms or ms-MY  
Crnogorski (Montenegrin) sr-Latn-ME  
Norsk (Norwegian) no or no-NO  
Polski (Polish) pl or pl-PL  
Português (Portuguese) pt or pt-PT  
Português do Brasil (Brazilian Portuguese) pt-BR  
Română (Romanian) ro or ro-RO  
Русский (Russian) ru or ru-RU  
Српски (Serbian - Cyrillic script) sr, sr-CS, sr-RS, or sr-SP  
Srpski (Serbian - Latin script) sr-Latn-RS  
Slovenčina (Slovak) sk or sk-SK  
Slovenščina (Slovenian) sl or sl-SI  
Español (Spanish) es or es-ES Also supported using es-419 (Latin American Spanish).
Svenska (Swedish) sv or sv-SE  
ภาษาไทย (Thai) th or th-TH  
Türkçe (Turkish) tr or tr-TR  
Українська (Ukrainian) uk or uk-UA  
اردو (Urdu) ur or ur-PK Defaults to right-to-left presentation.
Tiếng Việt (Vietnamese) vi or vi-VN  

Related information

How to add or modify generated text strings