From 106fa839df483937e27d53af14f9843dfe8be532 Mon Sep 17 00:00:00 2001 From: Robert D Anderson Date: Tue, 15 Nov 2016 06:49:19 -0600 Subject: [PATCH 1/6] Merge PDF and XHTML lists of supported languages --- user-guide/DITA-globalization-languages.dita | 275 +++++++++++++++++++ user-guide/DITA-globalization-pdf.dita | 219 --------------- user-guide/DITA-globalization-xhtml.dita | 254 ----------------- user-guide/globalizing.ditamap | 3 +- 4 files changed, 276 insertions(+), 475 deletions(-) create mode 100644 user-guide/DITA-globalization-languages.dita delete mode 100644 user-guide/DITA-globalization-pdf.dita delete mode 100644 user-guide/DITA-globalization-xhtml.dita diff --git a/user-guide/DITA-globalization-languages.dita b/user-guide/DITA-globalization-languages.dita new file mode 100644 index 000000000..db9aa5695 --- /dev/null +++ b/user-guide/DITA-globalization-languages.dita @@ -0,0 +1,275 @@ + + + + + +Supported languages +The following languages are supported for all PDF, XHTML, and HTML5 based transformation +types. + + +

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.

+
+ +Supported languages + + + + + + +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 + + + + +
+
+
diff --git a/user-guide/DITA-globalization-pdf.dita b/user-guide/DITA-globalization-pdf.dita deleted file mode 100644 index 99f804518..000000000 --- a/user-guide/DITA-globalization-pdf.dita +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - Supported languages: PDF transformations - The DITA Open Toolkit supports a slightly smaller set of languages for the PDF (pdf2) transformation. This - transformation was donated to the DITA-OT project after the project inception, and it uses a different and larger - set of generated text than the HTML-based transformations. - - - Supported languages: PDF transformation - - - - - - Language - Language code - - - - - Arabic - ar or ar-EG - - - Belarusian - be or be-BY - - - Bosnian - bs or bs-BA - - - Bulgarian - bg or bg-BG - - - Catalan - ca-ES - - - Chinese (simplified) - zh-CN or zh-Hans - - - Chinese (traditional) - zh-TW or zh-Hant - - - Croatian - hr or hr-HR - - - Czech - cs or cs-CZ - - - Danish - da or da-DK - - - Dutch - nl or nl-NL - - - English (US) - en or en-US - - - Estonian - et or et-EE - - - Finnish - fi or fi-FI - - - French - fr or fr-FR - - - German - de or de-DE - - - Greek - el or el-GR - - - Hebrew - he or he-IL - - - Hindi - hi or hi-HI - - - Hungarian - hu or hu-HU - - - Icelandic - is or is-IS - - - Indonesian - id or id-ID - - - Italian - it or it-IT - - - Japanese - ja or ja-JP - - - Kazakh - kk or kk-KZ - - - Korean - ko or ko-KR - - - Latvian - lv or lv-LV - - - Lithuanian - lt or lt-LT - - - Macedonian - mk or mk-MK - - - Malay - ms or ms-MY - - - Montenegrin - sr-latn-ME - - - Norwegian - no or no-NO - - - Polish - pl or pl-PL - - - Portuguese - pt or pt-PT - - - Portuguese (Brazil) - pt-BR - - - Romanian - ro or ro-RO - - - Russian - ru or ru-RU - - - Serbian (Cyrillic script) - sr, sr-CS, sr-RS, or sr-SP - - - Serbian (Latin script) - sr-latn-RS - - - Slovak - sk or sk-SK - - - Slovenian - sl or sl-SI - - - Spanish - es or es-ES - - - Swedish - sv or sv-SE - - - Thai - th or th-TH - - - Turkish - tr or tr-TR - - - Ukrainian - uk or uk-UA - - - Urdu - ur or ur-PK - - - Vietnamese - vi or vi-VN - - - -
-
-
diff --git a/user-guide/DITA-globalization-xhtml.dita b/user-guide/DITA-globalization-xhtml.dita deleted file mode 100644 index 67bcb468c..000000000 --- a/user-guide/DITA-globalization-xhtml.dita +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - Supported languages: HTML-based transformations - The DITA Open Toolkit supports over 50 languages and language variants for the HTML-based transformations - such as HTML5, XHTML, Eclipse Help, HTML Help, and TocJS. - - - Supported languages: HTML-based transformations - - - - - - Language - Language code - - - - - Arabic - ar or ar-EG - - - Belarusian - be or be-BY - - - Bosnian - bs or bs-BA - - - Bulgarian - bg or bg-BG - - - Catalan - ca-ES - - - Chinese (simplified) - zh-CN or zh-Hans - - - Chinese (traditional) - zh-TW or zh-Hant - - - Croatian - hr or hr-HR - - - Czech - cs or cs-CZ - - - Danish - da or da-DK - - - Dutch - nl or nl-NL - - - Dutch (Belgian) - nl-BE - - - English (British) - en-GB - - - English (Canadian) - en-CA - - - English (US) - en or en-US - - - Estonian - et or et-EE - - - Finnish - fi or fi-FI - - - French - fr or fr-FR - - - French (Belgian) - fr-BE - - - French (Canadian) - fr-CA - - - French (Swiss) - fr-CH - - - German - de or de-DE - - - German (Swiss) - de-CH - - - Greek - el or el-GR - - - Hebrew - he or he-IL - - - Hindi - hi or hi-HI - - - Hungarian - hu or hu-HU - - - Icelandic - is or is-IS - - - Indonesian - id or id-ID - - - Italian - it or it-IT - - - Italian (Swiss) - it-CH - - - Japanese - ja or ja-JP - - - Kazakh - kk or kk-KZ - - - Korean - ko or ko-KR - - - Latvian - lv or lv-LV - - - Lithuanian - lt or lt-LT - - - Macedonian - mk or mk-MK - - - Malay - ms or ms-MY - - - Montenegrin - sr-Latn-ME - - - Norwegian - no or no-NO - - - Polish - pl or pl-PL - - - Portuguese - pt or pt-PT - - - Portuguese (Brazil) - pt-BR - - - Romanian - ro or ro-RO - - - Russian - ru or ru-RU - - - Serbian (Cyrillic script) - sr, sr-RS, or sr-SP - - - Serbian (Latin script) - sr-latn-RS - - - Slovak - sk or sk-SK - - - Slovenian - sl or sl-SI - - - Spanish - es or es-ES - - - Spanish (Latin American) - es-419 - - - Swedish - sv or sv-SE - - - Thai - th or th-TH - - - Turkish - tr or tr-TR - - - Ukrainian - uk or uk-UA - - - Urdu - ur or ur-PK - - - Vietnamese - vi or vi-VN - - - -
-
-
diff --git a/user-guide/globalizing.ditamap b/user-guide/globalizing.ditamap index 7b856aa7f..bbaa7b524 100644 --- a/user-guide/globalizing.ditamap +++ b/user-guide/globalizing.ditamap @@ -6,7 +6,6 @@ Globalizing DITA content - - + From 0340f11bf0eb063d582cbdb407eadb1ace7f4298 Mon Sep 17 00:00:00 2001 From: Roger Sheen Date: Sat, 26 Nov 2016 18:35:57 +0100 Subject: [PATCH 2/6] Fix reltable entry to point to new topic (#116) Signed-off-by: Roger Sheen --- resources/reltable.ditamap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/reltable.ditamap b/resources/reltable.ditamap index 85b78cb50..fd53ad3b9 100644 --- a/resources/reltable.ditamap +++ b/resources/reltable.ditamap @@ -13,7 +13,7 @@ - + Languages supported by the core toolkit From c6484d7d41abcde4aeea30d054c6a52d4304d30f Mon Sep 17 00:00:00 2001 From: Roger Sheen Date: Sat, 26 Nov 2016 18:40:06 +0100 Subject: [PATCH 3/6] Use for case-sensitivity information (#116) Signed-off-by: Roger Sheen --- user-guide/DITA-globalization-languages.dita | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user-guide/DITA-globalization-languages.dita b/user-guide/DITA-globalization-languages.dita index db9aa5695..6d96da938 100644 --- a/user-guide/DITA-globalization-languages.dita +++ b/user-guide/DITA-globalization-languages.dita @@ -8,9 +8,9 @@ types. -

While language codes listed below use the conventional capitalization style of "aa-BB" and +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.

+xml:lang attribute.
Supported languages From 7cc343093d64360faa6defa42ae64aa3b061641e Mon Sep 17 00:00:00 2001 From: Roger Sheen Date: Sat, 26 Nov 2016 18:42:29 +0100 Subject: [PATCH 4/6] Format & indent per project conventions Signed-off-by: Roger Sheen --- user-guide/DITA-globalization-languages.dita | 537 +++++++++---------- 1 file changed, 268 insertions(+), 269 deletions(-) diff --git a/user-guide/DITA-globalization-languages.dita b/user-guide/DITA-globalization-languages.dita index 6d96da938..bc700a22c 100644 --- a/user-guide/DITA-globalization-languages.dita +++ b/user-guide/DITA-globalization-languages.dita @@ -3,273 +3,272 @@ -Supported languages -The following languages are supported for all PDF, XHTML, and HTML5 based transformation -types. - - -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. - -
-Supported languages - - - - - - -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 - - - - -
- + Supported languages + The following languages are supported for all PDF, XHTML, and HTML5 based transformation types. + + + 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. + + + Supported languages + + + + + + + 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 + + + + +
+
From 2367b084bee281f0081a60c39594be09e0b057d6 Mon Sep 17 00:00:00 2001 From: Roger Sheen Date: Sat, 26 Nov 2016 19:05:18 +0100 Subject: [PATCH 5/6] Adjust column widths & add @colnames Signed-off-by: Roger Sheen --- user-guide/DITA-globalization-languages.dita | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/user-guide/DITA-globalization-languages.dita b/user-guide/DITA-globalization-languages.dita index bc700a22c..f3bc2dfb1 100644 --- a/user-guide/DITA-globalization-languages.dita +++ b/user-guide/DITA-globalization-languages.dita @@ -14,13 +14,13 @@ Supported languages - - - + + + Language - Language code + Language code Notes From 967fcc8225b6c51210526060f99acd2579c266e1 Mon Sep 17 00:00:00 2001 From: Roger Sheen Date: Sat, 26 Nov 2016 19:08:06 +0100 Subject: [PATCH 6/6] Hyphenate compound adjective Signed-off-by: Roger Sheen --- user-guide/DITA-globalization-languages.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-guide/DITA-globalization-languages.dita b/user-guide/DITA-globalization-languages.dita index f3bc2dfb1..156fd9522 100644 --- a/user-guide/DITA-globalization-languages.dita +++ b/user-guide/DITA-globalization-languages.dita @@ -4,7 +4,7 @@ Supported languages - The following languages are supported for all PDF, XHTML, and HTML5 based transformation types. + The following languages are supported for all PDF, XHTML, and HTML5-based transformation types. While language codes listed below use the conventional capitalization style of "aa-BB" and "aa-Script-BB",