]> git.lyx.org Git - lyx.git/blob - lib/languages
ctest update.
[lyx.git] / lib / languages
1 ##########################################################################
2 #
3 # Languages supported by LyX.
4 #
5 # Syntax:
6 #
7 # Language <lyxname>
8 #       GuiName            "<Gui Name>"
9 #       HasGuiSupport      <true|false>
10 #       BabelName          <babelname>
11 #       PolyglossiaName    <polyglossianame>
12 #       PolyglossiaOpts    "<language-specific options>"
13 #       QuoteStyle         <british|danish|english|french|frenchin|
14 #                           german|polish|russian|swedish|swedishg|swiss|plain>
15 #       DateFormats        "<long>|<medium>|<short>"
16 #       Encoding           <encoding>
17 #       FontEncoding       <font encoding|font encoding|...>
18 #       InternalEncoding   <true|false>
19 #       RTL                <true|false>
20 #       AsBabelOptions     <true|false>
21 #       LangCode           <language_code>
22 #       LangVariety        <language_variety>
23 #       PreBabelPreamble
24 #         <extra latex code inserted before babel>
25 #       EndPreBabelPreamble
26 #       PostBabelPreamble
27 #         <extra latex code inserted after babel>
28 #       EndPostBabelPreamble
29 #       Requires           <requirement>
30 #       Provides           <babel language feature>
31 # End
32 #
33 #
34 # NOTES:
35 #
36 # * If we provide Polyglossia languages with different options, the default
37 #   options (such as "variant=american", "spelling=modern") should be
38 #   explicitely spelled out (in order to provide mixing of such variants).
39 # * Omitted elements will be treated as empty (if string) or "false"
40 #   (if boolean).
41 # * When HasGuiSupport is true, the language is candidate to appear in
42 #   the list of possible GUI languages in the Preferences dialog. It
43 #   will actually appear there only if a corresponding .mo file can be
44 #   found among the translations. When several languages correspond to
45 #   the same translation -- like English, English (US) and English
46 #   (UK) -- try to select the entry that is most generic -- here
47 #   English.
48 # * The QuoteStyle arguments correspond to the following styles:
49 #                  PRIMARY              SECONDARY
50 #   - british:    `text'                ``text''        (6_9 -- 66_99)
51 #   - cjk:        corner brackets       white corner br.
52 #   - cjk-angle:  double angle br.      angle br.
53 #   - danish:     >>text<<              >text<          (inward guillemets)
54 #   - english:    ``text''              `text'          (66_99 -- 6_9)
55 #   - french:     <<text>>              ``text''        (outward guillemets -- 66_99)
56 #   - frenchin:   <<text>>              <<text>>        (French Imprimerie Nationale style)
57 #   - german:     ,,text``              ,text`          (99/66 -- 9/6)
58 #   - polish:     ,,text''              ,text'          (99/99 -- 9/9)
59 #   - russian:    <<text>>              ,,text``        (outward guillemets -- 99/66)
60 #   - swedish:    ''text''              'text'          (99_99 -- 9_9)
61 #   - swedishg:   >>text>>              'text'          (Swedish Guillemets)
62 #   - swiss:      <<text>>              <text>          (outward guillemets)
63 #   - plain:      "text"                'text'          (non-typographical quotes)
64 #   Note that the option names have been selected (rather arbitrarily)
65 #   because the respective styles are common in the respective countries.
66 #   Of course this does not imply any fixed relation to those countries.
67 # * DateFormats lists the localized conventions for three date forms:
68 #   - Long: December 1, 2018
69 #   - Medium: Dec 1, 2018
70 #   - Short: 1/12/2018
71 #   These are separated by | and use the QDate syntax:
72 #   * d the day as number without a leading zero (1 to 31)
73 #   * dd        the day as number with a leading zero (01 to 31)
74 #   * ddd       the abbreviated localized day name (e.g. 'Mon' to 'Sun')
75 #   * dddd      the long localized day name (e.g. 'Monday' to 'Sunday')
76 #   * M the month as number without a leading zero (1 to 12)
77 #   * MM        the month as number with a leading zero (01 to 12)
78 #   * MMM       the abbreviated localized month name (e.g. 'Jan' to 'Dec')
79 #   * MMMM      the long localized month name (e.g. 'January' to 'December')
80 #   * yy        the year as two digit number (00 to 99)
81 #   * yyyy      the year as four digit number
82 # * Encoding is the default encoding used with TeX fonts.
83 #   It is only used if Document > Settings > Language > Encoding
84 #   is set to "Language Default" or "Language Default (no inputenc)"
85 #   and "use non-TeX fonts" is FALSE.
86 #   Encoding "inherit" means: keep encoding of the context (used by
87 #   latex_language).
88 # * FontEncoding is a bar-separated list of font encodings.
89 #   The first value is the required font encoding for correct hyphenation with
90 #   8-bit TeX (http://www.hyphenation.org). Eventually following values may be
91 #   used if the selected font is unavailable in FontEncoding. They provide all
92 #   letters used in the language, but some only as "surrogate pairs" with
93 #   possible problems for hyphenation and drag-and-drop from the generated
94 #   documents. Default: "ASCII".
95 #   * "FontEncoding ASCII" means: "works with any standard text encoding
96 #     (T<n>) as well as OT1".
97 #   * "FontEncoding none" tells LyX that fontenc should not be loaded with
98 #     this language.
99 # * InternalEncoding is used to tell LyX that babel internally sets a
100 #   non-standard font encoding (such as hebrew to LHE or greek to LGR).
101 #   If True, LyX takes care for characters/macros that do not exist in
102 #   some font encodings ("<", ">", "|" and straight quote).
103 #   It is not required for standard encodings like T2A. See bug #5091.
104 # * AsBabelOptions advices LyX to pass the languages locally to babel, not
105 #   globally to the class. In the old days, some languages (basically those
106 #   not natively supported by babel) needed this.
107 #   FIXME: in this case, we might still need to pass the other languages
108 #          globally, for the use of other packages (such as varioref).
109 # * LangCode is also used for spellchecking and thesaurus, where the
110 #   dictionaries are named accordingly. Thus, check this when introducing/
111 #   changing language codes (especially aspell, thesaurus).
112 #   TODO: maybe use Best Current Practice (BCP 47) codes for LangCode
113 #         http://www.rfc-editor.org/rfc/bcp/bcp47.txt
114 #         http://www.w3.org/International/articles/language-tags/
115 #         http://www.iana.org/assignments/language-subtag-registry
116 # * LangVariety is used by the aspell spellchecker to differentiate
117 #   dictionaries for different varieties of a given language (e.g. German
118 #   pre-1998 and post-1998 spelling). The aspell dictionaries are named
119 #   language[_REGION][-variety].multi, e.g. de-alt.multi for "German (old
120 #   spelling)" (see http://aspell.net/man-html/Dictionary-Naming.html)
121 # * Provides lists features that are provided by specific Babel languages,
122 #   but are available globally if this language is used (not only for this
123 #   language. Examples are \textgreek (Greek) and \textcyrillic (Russian).
124 #
125 ##########################################################################
126
127 #
128 # LyX-internal languages
129 #
130
131 Language ignore
132         GuiName          "Ignore"
133         BabelName        ignore
134         PolyglossiaName  ignore
135         Encoding         inherit
136         LangCode         ignore
137 End
138
139 Language latex
140         GuiName          "LaTeX"
141         Encoding         inherit
142         LangCode         latex
143 End
144
145 #
146 # Real languages
147 #
148
149 # not yet supported by polyglossia
150 Language afrikaans
151         GuiName          "Afrikaans"
152         BabelName        afrikaans
153         QuoteStyle       polish
154         Encoding         iso8859-15
155         FontEncoding     T1|OT1
156         DateFormats      "dd MMMM yyyy|dd MMM yyyy|yyyy/MM/dd"
157         LangCode         af_ZA
158 End
159
160 # FontEncoding: no hyphenation, but uses Ç/ç und Ë/ë
161 Language albanian
162         GuiName          "Albanian"
163         BabelName        albanian
164         PolyglossiaName  albanian
165         QuoteStyle       swiss
166         Encoding         iso8859-2
167         FontEncoding     T1|OT1
168         DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
169         LangCode         sq_AL
170 End
171
172 Language american
173         GuiName          "English (USA)"
174         BabelName        american
175         PolyglossiaName  english
176         PolyglossiaOpts  "variant=american"
177         QuoteStyle       english
178         Encoding         iso8859-15
179         FontEncoding     ASCII
180         DateFormats      "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
181         LangCode         en_US
182 End
183
184 # not supported by babel
185 Language amharic
186         GuiName          "Amharic"
187         PolyglossiaName  amharic
188         Encoding         utf8
189         DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
190         LangCode         am_ET
191 End
192
193 # In Babel, this is supported since v. 1.8a of babel-greek (2013-12-03)
194 # We introduce it with LyX 2.2 to give the support time to settle.
195 Language ancientgreek
196         GuiName           "Greek (ancient)"
197         BabelName         greek
198         PostBabelPreamble
199         \languageattribute{greek}{ancient}
200         EndPostBabelPreamble
201         PolyglossiaName   greek
202         PolyglossiaOpts   "variant=ancient"
203         QuoteStyle        french
204         Encoding          iso8859-7
205         InternalEncoding  true
206         FontEncoding      LGR
207         DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
208         LangCode          grc_GR
209         Provides          textgreek
210 End
211
212 # FIXME: dummy babel language for arabic_arabtex to be able
213 # to switch the language the way of the ArabTeX-package
214 Language arabic_arabtex
215         GuiName          "Arabic (ArabTeX)"
216         HasGuiSupport    true
217         BabelName        arabtex
218         QuoteStyle       french
219         Encoding         cp1256
220         DateFormats      "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
221         RTL              true
222         LangCode         ar_SA
223 End
224
225 # polyglossia uses "Arabic" for the lang environment
226 Language arabic_arabi
227         GuiName          "Arabic (Arabi)"
228         BabelName        arabic
229         PolyglossiaName  arabic
230         QuoteStyle       french
231         Encoding         cp1256
232         FontEncoding     LAE
233         DateFormats      "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
234         RTL              true
235         PostBabelPreamble
236           % arabi + hyperref redefines \noboundary as local textcommand
237           \let\orig@noboundary\noboundary
238           \DeclareTextCommandDefault{\noboundary}{\orig@noboundary}
239         EndPostBabelPreamble
240         LangCode         ar_SA
241 End
242
243 # not supported by babel
244 Language armenian
245         GuiName          "Armenian"
246         PolyglossiaName  armenian
247         QuoteStyle       swiss
248         Encoding         utf8
249         DateFormats      "d MMMM، yyyy|d MMM، yyyy|d/M/yyyy"
250         LangCode         hy_AM
251 End
252
253 # not supported by babel
254 Language asturian
255         GuiName          "Asturian"
256         PolyglossiaName  asturian
257         QuoteStyle       french
258         Encoding         iso8859-15
259         DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
260         LangCode         ast_ES
261 End
262
263
264 Language australian
265         GuiName          "English (Australia)"
266         BabelName        australian
267         PolyglossiaName  english
268         PolyglossiaOpts  "variant=australian"
269         Encoding         iso8859-15
270         FontEncoding     ASCII
271         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
272         QuoteStyle       english
273         LangCode         en_AU
274 End
275
276 # In polyglossia, this is supported since release 1.33.4 (May 2014)
277 # We introduce it with LyX 2.2 to give the support time to settle.
278 # Due to the variety, we use no country code.
279 Language austrian
280         GuiName          "German (Austria, old spelling)"
281         BabelName        austrian
282         PolyglossiaName  german
283         PolyglossiaOpts  "variant=austrian,spelling=old,babelshorthands=true"
284         QuoteStyle       german
285         Encoding         iso8859-15
286         FontEncoding     T1|OT1
287         DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
288         LangCode         de
289         LangVariety      alt
290 End
291
292 # In polyglossia, this is supported since release 1.33.4 (May 2014)
293 # We introduce it with LyX 2.2 to give the support time to settle.
294 Language naustrian
295         GuiName          "German (Austria)"
296         BabelName        naustrian
297         PolyglossiaName  german
298         PolyglossiaOpts  "variant=austrian,spelling=new,babelshorthands=true"
299         QuoteStyle       german
300         Encoding         iso8859-15
301         FontEncoding     T1|OT1
302         DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
303         LangCode         de_AT
304 End
305
306 Language bahasa
307         GuiName          "Indonesian"
308         HasGuiSupport    true
309         BabelName        bahasa
310         PolyglossiaName  bahasai
311         QuoteStyle       english
312         Encoding         iso8859-15
313         FontEncoding     ASCII
314         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
315         LangCode         id_ID
316 End
317
318 Language bahasam
319         GuiName          "Malay"
320         BabelName        bahasam
321         PolyglossiaName  bahasam
322         QuoteStyle       english
323         Encoding         iso8859-15
324         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
325         LangCode         ms_MY
326 End
327
328 Language basque
329         GuiName          "Basque"
330         HasGuiSupport    true
331         BabelName        basque
332         PolyglossiaName  basque
333         QuoteStyle       swiss
334         Encoding         iso8859-15
335         FontEncoding     T1|OT1
336         DateFormats      "yyyy MMMM dd|yyyy MMM dd|yyyy/MM/dd"
337         LangCode         eu_ES
338         PostBabelPreamble
339         \addto\extrasbasque{\bbl@deactivate{~}}
340         EndPostBabelPreamble
341 End
342
343 # not yet supported by polyglossia
344 # Up to 2018-08-25 (babel-belarusian 1.4), the babel option is "belarusianb"
345 # but the language name "belarusian" (without trailing "b").
346 Language belarusian
347         GuiName          "Belarusian"
348         BabelName        belarusian
349         QuoteStyle       french
350         Encoding         cp1251
351         FontEncoding     T2A
352         DateFormats      "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
353         LangCode         be_BY
354 End
355
356 # not yet supported by polyglossia
357 # The (rarely used) Cyrillic script is not supported (try serbian).
358 Language bosnian
359         GuiName          "Bosnian"
360         BabelName        bosnian
361         QuoteStyle       polish
362         Encoding         iso8859-2
363         FontEncoding     T1|OT1
364         DateFormats      "d. MMMM yyyy|d. MMM yyyy|yyyy-MM-dd"
365         LangCode         bs_BA
366 End
367
368 Language brazilian
369         GuiName          "Portuguese (Brazil)"
370         HasGuiSupport    true
371         BabelName        brazil
372         PolyglossiaName  brazil
373         QuoteStyle       english
374         Encoding         iso8859-15
375         FontEncoding     T1|OT1
376         DateFormats      "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
377         LangCode         pt_BR
378 End
379
380 # FontEncoding: # ? no hyphenation, but uses ñ
381 Language breton
382         GuiName          "Breton"
383         BabelName        breton
384         PolyglossiaName  breton
385         QuoteStyle       french
386         Encoding         iso8859-15
387         #FontEncoding    T1
388         DateFormats      "dd MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
389         LangCode         br_FR
390 End
391
392 Language british
393         GuiName          "English (UK)"
394         BabelName        british
395         PolyglossiaName  english
396         PolyglossiaOpts  "variant=british"
397         QuoteStyle       british
398         Encoding         iso8859-15
399         FontEncoding     ASCII
400         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
401         LangCode         en_GB
402 End
403
404 Language bulgarian
405         GuiName          "Bulgarian"
406         BabelName        bulgarian
407         PolyglossiaName  bulgarian
408         QuoteStyle       german
409         Encoding         cp1251
410         FontEncoding     T2A
411         DateFormats      "dd MMMM yyyy|d MMM yyyy|yyyy-M-d"
412         LangCode         bg_BG
413         Provides         textcyrillic
414 End
415
416 # not yet supported by polyglossia
417 Language canadian
418         GuiName          "English (Canada)"
419         BabelName        canadian
420 #       PolyglossiaName  english
421 #       PolyglossiaOpts  "variant=canadian"
422         QuoteStyle       english
423         Encoding         iso8859-15
424         FontEncoding     ASCII
425         DateFormats      "MMMM d, yyyy|d MMM yyyy|yyyy-MM-dd"
426         LangCode         en_CA
427 End
428
429 # not yet supported by polyglossia
430 # Note: If polyglossia support gets implemented, french needs
431 #       PolyglossiaOpts  "variant=french"
432 Language canadien
433         GuiName          "French (Canada)"
434         BabelName        canadien
435 #       PolyglossiaName  french
436 #       PolyglossiaOpts  "variant=canadien"
437         QuoteStyle       french
438         Encoding         iso8859-15
439         FontEncoding     T1|OT1
440         DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
441         LangCode         fr_CA
442 End
443
444 Language catalan
445         GuiName          "Catalan"
446         HasGuiSupport    true
447         BabelName        catalan
448         PolyglossiaName  catalan
449         PolyglossiaOpts  "babelshorthands=true"
450         QuoteStyle       french
451         Encoding         iso8859-15
452         FontEncoding     T1|OT1
453         DateFormats      "d / MMMM / yyyy|d / MMM / yyyy|dd/MM/yyyy"
454         LangCode         ca_ES
455 End
456
457 # uses CJK package
458 Language chinese-simplified
459         GuiName          "Chinese (simplified)"
460         HasGuiSupport    true
461         Encoding         euc-cn
462         QuoteStyle       english
463         LangCode         zh_CN
464         DateFormats      "yyyy年M月d日|yyyy-M-d|yy-M-d"
465         Requires         CJK
466 End
467
468 # uses CJK package
469 Language chinese-traditional
470         GuiName         "Chinese (traditional)"
471         HasGuiSupport    true
472         QuoteStyle       cjk
473         Encoding         utf8-cjk
474         LangCode         zh_TW
475         DateFormats      "yyyy年M月d日|yyyy年M月d日|yy年M月d日"
476         Requires         CJK
477 End
478
479 # not supported by babel
480 # FIXME DateFormats
481 Language coptic
482         GuiName          "Coptic"
483         PolyglossiaName  coptic
484         Encoding         utf8
485         LangCode         cop_EG
486 End
487
488 Language croatian
489         GuiName          "Croatian"
490         BabelName        croatian
491         PolyglossiaName  croatian
492         QuoteStyle       polish
493         Encoding         iso8859-2
494         FontEncoding     T1|OT1
495         DateFormats      "d. MMMM yyyy.|d. MMM. yyyy.|dd.MM.yyyy."
496         LangCode         hr_HR
497 End
498
499 Language czech
500         GuiName          "Czech"
501         HasGuiSupport    true
502         BabelName        czech
503         PolyglossiaName  czech
504         QuoteStyle       german
505         Encoding         iso8859-2
506         FontEncoding     T1|OT1
507         DateFormats      "d. MMMM yyyy|d. MMM. yyyy|d.M.yyyy"
508         LangCode         cs_CZ
509 End
510
511 Language danish
512         GuiName          "Danish"
513         HasGuiSupport    true
514         BabelName        danish
515         PolyglossiaName  danish
516         QuoteStyle       danish
517         Encoding         iso8859-15
518         FontEncoding     T1|OT1
519         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
520         LangCode         da_DK
521 End
522
523 # not supported by babel
524 Language divehi
525         GuiName          "Divehi (Maldivian)"
526         PolyglossiaName  divehi
527         Encoding         utf8
528         DateFormats      "yyyy MMMM dd|yyyy MMM dd|dd/MM/yyyy"
529         LangCode         dv_MV
530 End
531
532 Language dutch
533         GuiName          "Dutch"
534         HasGuiSupport    true
535         BabelName        dutch
536         PolyglossiaName  dutch
537         PolyglossiaOpts  "babelshorthands=true"
538         QuoteStyle       polish
539         Encoding         iso8859-15
540         FontEncoding     T1|OT1
541         DateFormats      "d MMMM yyyy|d MMM yyyy|d-M-yyyy"
542         LangCode         nl_NL
543 End
544
545 Language english
546         GuiName          "English"
547         HasGuiSupport    true
548         BabelName        english
549         PolyglossiaName  english
550         PolyglossiaOpts  "variant=american"
551         QuoteStyle       english
552         DateFormats      "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
553         Encoding         iso8859-15
554         FontEncoding     ASCII
555         LangCode         en_US
556 End
557
558 # Esperanto has no country code because it is an auxiliary language.
559 # We therefore use the name of its hunspell dictionary.
560 Language esperanto
561         GuiName          "Esperanto"
562         BabelName        esperanto
563         PolyglossiaName  esperanto
564         QuoteStyle       english
565         Encoding         iso8859-3
566         FontEncoding     IL3|T1|OT1
567         DateFormats      "'la' d 'de' MMMM yyyy|'la' d 'de' MMM yyyy|MM/dd/yyyy"
568         LangCode         eo_EO
569 End
570
571 Language estonian
572         GuiName          "Estonian"
573         BabelName        estonian
574         PolyglossiaName  estonian
575         QuoteStyle       german
576         Encoding         iso8859-15
577         FontEncoding     T1|OT1
578         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
579         LangCode         et_EE
580         PostBabelPreamble
581         \addto\extrasestonian{\bbl@deactivate{~}}
582         EndPostBabelPreamble
583 End
584
585 # the preamble definitions are only used due to bugs in the
586 # arabi-package -- remove them if they become unnecessary!
587 Language farsi
588         GuiName          "Farsi"
589         BabelName        farsi
590         PolyglossiaName  farsi
591         Encoding         utf8
592         FontEncoding     LAE,LFE
593         DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy/M/d"
594         RTL              true
595         LangCode         fa_IR
596         QuoteStyle       english
597         PostBabelPreamble
598         \DeclareTextSymbol{\guillemotright}{LFE}{62}
599         \DeclareTextSymbol{\guillemotleft}{LFE}{60}
600         EndPostBabelPreamble
601 End
602
603 Language finnish
604         GuiName          "Finnish"
605         HasGuiSupport    true
606         BabelName        finnish
607         PolyglossiaName  finnish
608         QuoteStyle       swedish
609         Encoding         iso8859-15
610         FontEncoding     T1|OT1
611         DateFormats      "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
612         LangCode         fi_FI
613 End
614
615 # We redefine \og and \fg (guillemets) for older french language definitions
616 Language french
617         GuiName          "French"
618         HasGuiSupport    true
619         BabelName        french
620         PolyglossiaName  french
621         QuoteStyle       french
622         Encoding         iso8859-15
623         FontEncoding     T1|OT1
624         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
625         LangCode         fr_FR
626         PostBabelPreamble
627         \addto\extrasfrench{%
628            \providecommand{\og}{\leavevmode\flqq~}%
629            \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
630         }
631         EndPostBabelPreamble
632 End
633
634 Language friulan
635         GuiName          "Friulian"
636         HasGuiSupport    true
637         BabelName        friulan
638         PolyglossiaName  friulan
639         QuoteStyle       french
640         Encoding         iso8859-15
641         FontEncoding     T1|OT1
642         DateFormats      "d 'di' MMMM 'dal' yyyy|d 'di' MMM 'dal' yyyy|dd/MM/yyyy"
643         LangCode         fur_IT
644 End
645
646 Language galician
647         GuiName          "Galician"
648         HasGuiSupport    true
649         BabelName        galician
650         PolyglossiaName  galician
651         QuoteStyle       french
652         Encoding         iso8859-15
653         FontEncoding     T1|OT1
654         DateFormats      "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
655         LangCode         gl_ES
656         PostBabelPreamble
657         \addto\shorthandsgalician{\galiciandeactivate{~}}
658         EndPostBabelPreamble
659 End
660
661 # FIXME DateFormats
662 Language georgian
663         GuiName          "Georgian"
664         BabelName        georgian
665         QuoteStyle       german
666         Encoding         utf8
667         FontEncoding     T8M
668         LangCode         ka_GE
669 End
670
671 # german does not use a country code (due to the variety)
672 Language german
673         GuiName          "German (old spelling)"
674         BabelName        german
675         PolyglossiaName  german
676         PolyglossiaOpts  "variant=german,spelling=old,babelshorthands=true"
677         QuoteStyle       german
678         Encoding         iso8859-15
679         FontEncoding     T1|OT1
680         DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
681         LangCode         de
682         LangVariety      alt
683 End
684
685 Language ngerman
686         GuiName          "German"
687         HasGuiSupport    true
688         BabelName        ngerman
689         PolyglossiaName  german
690         PolyglossiaOpts  "variant=german,spelling=new,babelshorthands=true"
691         QuoteStyle       german
692         Encoding         iso8859-15
693         FontEncoding     T1|OT1
694         DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
695         LangCode         de_DE
696 End
697
698 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
699 # We introduce it with LyX 2.2 to give the support time to settle.
700 # In polyglossia, this is supported since release 1.33.6 (May 2015)
701 # We introduce it with LyX 2.3 to give the support time to settle.
702 Language german-ch
703         GuiName          "German (Switzerland)"
704         BabelName        nswissgerman
705         PolyglossiaName  german
706         PolyglossiaOpts  "variant=swiss,spelling=new,babelshorthands=true"
707         QuoteStyle       swiss
708         Encoding         iso8859-15
709         FontEncoding     T1|OT1
710         DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
711         LangCode         de_CH
712 End
713
714 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
715 # In polyglossia, this is supported since release 1.33.6 (May 2015)
716 # We introduce it with LyX 2.3 to give the support time to settle.
717 Language german-ch-old
718         GuiName          "German (Switzerland, old spelling)"
719         BabelName        swissgerman
720         PolyglossiaName  german
721         PolyglossiaOpts  "variant=swiss,spelling=old,babelshorthands=true"
722         QuoteStyle       swiss
723         Encoding         iso8859-15
724         FontEncoding     T1|OT1
725         DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
726         LangCode         de_CH
727 End
728
729 Language greek
730         GuiName           "Greek"
731         HasGuiSupport     true
732         BabelName         greek
733         PolyglossiaName   greek
734         PolyglossiaOpts   "variant=monotonic"
735         QuoteStyle        french
736         Encoding          iso8859-7
737         InternalEncoding  true
738         FontEncoding      LGR
739         DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
740         LangCode          el_GR
741         Provides          textgreek
742 End
743
744 Language polutonikogreek
745         GuiName           "Greek (polytonic)"
746         BabelName         polutonikogreek
747         PolyglossiaName   greek
748         PolyglossiaOpts   "variant=polytonic"
749         QuoteStyle        french
750         Encoding          iso8859-7
751         InternalEncoding  true
752         FontEncoding      LGR
753         DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
754         LangCode          el_GR
755         Provides          textgreek
756 End
757
758 Language hebrew
759         GuiName           "Hebrew"
760         HasGuiSupport     true
761         BabelName         hebrew
762         PolyglossiaName   hebrew
763         Encoding          cp1255
764         QuoteStyle        english
765         InternalEncoding  true
766         # babel-hebrew expects the encoding for *other* languages last:
767         # FontEncoding      HE8
768         # Define the font encoding the babel-hebrew way and
769         # work around too simple test for article-like classes in rlbabel.def.
770         PreBabelPreamble
771           \providecommand{\l@chapter}{\relax}
772         EndPreBabelPreamble
773         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
774         RTL               true
775         LangCode          he_IL
776 End
777
778 # not supported by babel
779 Language hindi
780         GuiName          "Hindi"
781         PolyglossiaName  hindi
782         Encoding         utf8
783         DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd-MM-yyyy"
784         LangCode         hi_IN
785 End
786
787 # Currently not supported (file format change!)
788 # "hungarian" is a synonym for the "magyar" babel language option
789 # "hungarian" might be used for special purposes,
790 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
791 #Language hungarian
792 #       GuiName         "Hungarian"
793 #       BabelName       hungarian
794 #       Encoding        iso8859-2
795 #       LangCode        hu_HU
796 #       QuoteStyle      polish
797 #End
798
799 # FontEncoding: OT1 misses ð and Þ
800 Language icelandic
801         GuiName          "Icelandic"
802         BabelName        icelandic
803         PolyglossiaName  icelandic
804         QuoteStyle       german
805         Encoding         iso8859-15
806         FontEncoding     T1
807         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
808         LangCode         is_IS
809 End
810
811 # Interlingua has no official country code because it is an auxiliary
812 # language. We therefore the name of its hunspell dictionary.
813 Language interlingua
814         GuiName          "Interlingua"
815         HasGuiSupport    true
816         BabelName        interlingua
817         PolyglossiaName  interlingua
818         Encoding         iso8859-15
819         FontEncoding     ASCII
820         LangCode         ia_IA
821         DateFormats      "'le' d 'de' MMMM yyyy|'le' d 'de' MMM yyyy|yyyy-mm-dd"
822         QuoteStyle       english
823 End
824
825 Language irish
826         GuiName          "Irish"
827         BabelName        irish
828         PolyglossiaName  irish
829         QuoteStyle       english
830         Encoding         iso8859-15
831         FontEncoding     T1|OT1
832         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
833         LangCode         ga_IE
834 End
835
836 Language italian
837         GuiName          "Italian"
838         HasGuiSupport    true
839         BabelName        italian
840         PolyglossiaName  italian
841         QuoteStyle       french
842         Encoding         iso8859-15
843         FontEncoding     ASCII
844         DateFormats      "dd MMMM yyyy|dd/MMM/yyyy|dd/MM/yyyy"
845         LangCode         it_IT
846 End
847
848 # japanese must be loaded locally with babel options,
849 # not globally via class options
850 # http://www.lyx.org/trac/ticket/4597#c4
851 # Since japanese does not load fontenc, we set
852 # InternalEncoding to true.
853 Language japanese
854         GuiName          "Japanese"
855         HasGuiSupport    true
856         BabelName        japanese
857         Encoding         jis-platex
858         LangCode         ja_JP
859         Requires         japanese
860         InternalEncoding true
861         FontEncoding     None
862         DateFormats      "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
863         QuoteStyle       cjk
864 End
865
866 # uses CJK package
867 Language japanese-cjk
868         GuiName         "Japanese (CJK)"
869         Encoding        euc-jp
870         DateFormats      "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
871         LangCode        ja_JP
872         Requires        CJK
873         QuoteStyle      cjk
874 End
875
876 # not supported by babel
877 Language kannada
878         GuiName          "Kannada"
879         PolyglossiaName  kannada
880         Encoding         utf8
881         DateFormats      "dd MMMM yyyy|dd MMMM yyyy|dd-MM-yyyy"
882         LangCode         kn_IN
883 End
884
885 # not yet supported by polyglossia
886 # not supported by babel
887 Language kazakh
888         GuiName          "Kazakh"
889         Encoding         ascii
890         FontEncoding     T2A
891         DateFormats      "dd MMMM yyyy|dd MMMM yyyy|yyyy-dd-MM"
892         LangCode         kk_KZ
893         # FIXME: this sets the global font encoding also
894         # if Kazakh is only used as secondary language.
895         PostBabelPreamble
896         \input{t2aenc.def}
897         \AtBeginDocument{\fontencoding{T2A}\selectfont}
898         EndPostBabelPreamble
899 End
900
901 # not supported by babel
902 Language khmer
903         GuiName          "Khmer"
904         PolyglossiaName  khmer
905         Encoding         utf8
906         DateFormats      "d MMMM yyyy|d MMMM yyyy|dd/MM/yyyy"
907         LangCode         km_KH
908 End
909
910 Language korean
911         GuiName         "Korean"
912         Encoding        euc-kr
913         QuoteStyle      cjkangle
914         DateFormats     "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
915         LangCode        ko_KR
916         Requires        CJK
917 End
918
919 # not yet supported by polyglossia
920 Language kurmanji
921         GuiName          "Kurmanji"
922         BabelName        kurmanji
923         Encoding         utf8
924         FontEncoding     T1|OT1
925         DateFormats      "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd"
926         LangCode         kmr
927 End
928
929 # not supported by babel
930 Language lao
931         GuiName          "Lao"
932         PolyglossiaName  lao
933         Encoding         utf8
934         DateFormats      "dd MMMM yyyy|dd MMMM yyyy|dd/MM/yyyy"
935         LangCode         lo_LA
936 End
937
938 # There is no country code for Latin because it is a dead language.
939 # We therefore the name of its hunspell dictionary.
940 # FIXME DateFormats
941 Language latin
942         GuiName          "Latin"
943         BabelName        latin
944         PolyglossiaName  latin
945         Encoding         iso8859-15
946         FontEncoding     T1|OT1
947         LangCode         la_LA
948 End
949
950 # latvian must be loaded locally with babel options,
951 # not globally via class options
952 # FontEncoding: L7x required for hyphenation but not set by Babel
953 Language latvian
954         GuiName          "Latvian"
955         BabelName        latvian
956         PolyglossiaName  latvian
957         QuoteStyle       german
958         Encoding         iso8859-4
959         FontEncoding     L7x|T1|OT1
960         DateFormats      "yyyy. 'gada' d. MMMM|yyyy. 'gada' d. MMM|dd.MM.yyyy"
961         LangCode         lv_LV
962 End
963
964 # lithuanian must be loaded locally with babel options,
965 # not globally via class options
966 # FontEncoding: L7x set by Babel
967 Language lithuanian
968         GuiName          "Lithuanian"
969         BabelName        lithuanian
970         PolyglossiaName  lithuanian
971         QuoteStyle       german
972         Encoding         iso8859-13
973         FontEncoding     L7x
974         DateFormats      "yyyy 'm.' MMMM d 'd.'|yyyy 'm.' MMMM d 'd.'|yyyy-MM-dd"
975         LangCode         lt_LT
976 End
977
978 Language lowersorbian
979         GuiName          "Lower Sorbian"
980         BabelName        lowersorbian
981         PolyglossiaName  lsorbian
982         QuoteStyle       german
983         Encoding         iso8859-2
984         FontEncoding     T1|OT1
985         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
986         LangCode         dsb_DE
987 End
988
989 Language magyar
990         GuiName          "Hungarian"
991         HasGuiSupport    true
992         BabelName        magyar
993         PolyglossiaName  magyar
994         QuoteStyle       polish
995         Encoding         iso8859-2
996         FontEncoding     T1|OT1
997         DateFormats      "yyyy. MMMM d.|yyyy. MMM d.|yyyy.MM.dd."
998         LangCode         hu_HU
999 End
1000
1001 # not yet supported by polyglossia
1002 Language macedonian
1003         GuiName          "Macedonian"
1004         BabelName        macedonian
1005         QuoteStyle       german
1006         Encoding         cp1251
1007         FontEncoding     T2A
1008         DateFormats      "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
1009         LangCode         mk_MK
1010         Provides         textcyrillic
1011 End
1012
1013 # not supported by babel
1014 Language malayalam
1015         GuiName          "Malayalam"
1016         PolyglossiaName  malayalam
1017         Encoding         utf8
1018         QuoteStyle       english
1019         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1020         LangCode         ml_IN
1021 End
1022
1023 # not supported by babel
1024 Language marathi
1025         GuiName          "Marathi"
1026         PolyglossiaName  marathi
1027         Encoding         utf8
1028         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1029         LangCode         mr_IN
1030 End
1031
1032 # mongolian must be loaded locally with babel options,
1033 # not globally via class options
1034 # not yet supported by polyglossia
1035 Language mongolian
1036         GuiName          "Mongolian"
1037         BabelName        mongolian
1038         Encoding         utf8
1039         FontEncoding     T2A
1040         DateFormats      "yyyy оны M сарын d|d-M-yyyy|dd-MM-yyyy"
1041         LangCode         mn_MN
1042         Provides         textcyrillic
1043 End
1044
1045 Language newzealand
1046         GuiName          "English (New Zealand)"
1047         BabelName        newzealand
1048         PolyglossiaName  english
1049         PolyglossiaOpts  "variant=newzealand"
1050         QuoteStyle       english
1051         Encoding         iso8859-15
1052         FontEncoding     ASCII
1053         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1054         LangCode         en_NZ
1055 End
1056
1057 Language norsk
1058         GuiName          "Norwegian (Bokmaal)"
1059         HasGuiSupport    true
1060         BabelName        norsk
1061         PolyglossiaName  norsk
1062         QuoteStyle       swiss
1063         Encoding         iso8859-15
1064         FontEncoding     T1|OT1
1065         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1066         LangCode         nb_NO
1067 End
1068
1069 Language nynorsk
1070         GuiName          "Norwegian (Nynorsk)"
1071         HasGuiSupport    true
1072         BabelName        nynorsk
1073         PolyglossiaName  nynorsk
1074         QuoteStyle       swiss
1075         Encoding         iso8859-15
1076         FontEncoding     T1|OT1
1077         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1078         LangCode         nn_NO
1079 End
1080
1081 # not supported by babel
1082 Language occitan
1083         GuiName          "Occitan"
1084         PolyglossiaName  occitan
1085         QuoteStyle       french
1086         Encoding         utf8
1087         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1088         LangCode         oc_FR
1089 End
1090
1091 # Currently not supported (file format change!)
1092 # Russian orthography from the Petrine orthographic reforms of
1093 # 1708 to the 1917 orthographic reform
1094 # Note: If this is enabled, russian needs to get
1095 #       PolyglossiaOpts  "spelling=modern"
1096 # Language oldrussian
1097 #       GuiName          "Russian (Petrine orthography)"
1098 #       PolyglossiaName  russian
1099 #       PolyglossiaOpts  "spelling=old"
1100 #       LangCode         ru_petr1708
1101 #       QuoteStyle       russian
1102 # End
1103
1104 # FIXME DateFormats
1105 Language piedmontese
1106         GuiName          "Piedmontese"
1107         HasGuiSupport    true
1108         BabelName        piedmontese
1109         PolyglossiaName  piedmontese
1110         QuoteStyle       french
1111         Encoding         iso8859-15
1112         FontEncoding     ASCII
1113         LangCode         pms_IT
1114 End
1115
1116 # FontEncoding: QX required for hyphenation but not set by babel
1117 Language polish
1118         GuiName          "Polish"
1119         HasGuiSupport    true
1120         BabelName        polish
1121         PolyglossiaName  polish
1122         QuoteStyle       polish
1123         Encoding         iso8859-2
1124         FontEncoding     QX|T1|OT1
1125         DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1126         LangCode         pl_PL
1127 End
1128
1129 Language portuguese
1130         GuiName          "Portuguese"
1131         HasGuiSupport    true
1132         BabelName        portuges
1133         PolyglossiaName  portuges
1134         QuoteStyle       french
1135         Encoding         iso8859-15
1136         FontEncoding     T1|OT1
1137         DateFormats      "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|yyyy/MM/dd"
1138         LangCode         pt_PT
1139 End
1140
1141 Language romanian
1142         GuiName          "Romanian"
1143         HasGuiSupport    true
1144         BabelName        romanian
1145         PolyglossiaName  romanian
1146         QuoteStyle       polish
1147         Encoding         iso8859-16
1148         FontEncoding     T1|OT1
1149         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1150         LangCode         ro_RO
1151 End
1152
1153 Language romansh
1154         GuiName          "Romansh"
1155         HasGuiSupport    true
1156         BabelName        romansh
1157         PolyglossiaName  romansh
1158         QuoteStyle       german
1159         Encoding         iso8859-15
1160         FontEncoding     ASCII
1161         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1162         LangCode         rm_CH
1163 End
1164
1165 Language russian
1166         GuiName          "Russian"
1167         HasGuiSupport    true
1168         BabelName        russian
1169         PolyglossiaName  russian
1170         QuoteStyle       russian
1171         Encoding         koi8-r
1172         FontEncoding     T2A
1173         DateFormats      "d MMMM yyyy 'г'.|d MMM yyyy 'г'.|dd.MM.yyyy"
1174         LangCode         ru_RU
1175         Provides         textcyrillic
1176 End
1177
1178 # FontEncoding: no hyphenation, but diacritics
1179 Language samin
1180         GuiName          "North Sami"
1181         BabelName        samin
1182         PolyglossiaName  samin
1183         Encoding         iso8859-15
1184         FontEncoding     T1|OT1
1185         DateFormats      "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
1186         LangCode         se_NO
1187 End
1188
1189 # not supported by babel
1190 Language sanskrit
1191         GuiName          "Sanskrit"
1192         PolyglossiaName  sanskrit
1193         Encoding         utf8
1194         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1195         LangCode         sa_IN
1196 End
1197
1198 # Gaidhlig (Scottish Gaelic)
1199 # FontEncoding: no hyphenation, grave accent (à, è, ì, ò, ù)
1200 Language scottish
1201         GuiName          "Scottish"
1202         BabelName        scottish
1203         PolyglossiaName  scottish
1204         QuoteStyle       english
1205         Encoding         iso8859-15
1206         FontEncoding     T1|OT1
1207         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1208         LangCode         gd_GB
1209 End
1210
1211 # Note: script option is uppercase, even if the polyglossia
1212 #       manual states otherwise.
1213 Language serbian
1214         GuiName          "Serbian"
1215         HasGuiSupport    true
1216         BabelName        serbianc
1217         PolyglossiaName  serbian
1218         PolyglossiaOpts  "script=Cyrillic"
1219         QuoteStyle       polish
1220         Encoding         utf8
1221         # Cyrillic font encoding required but not set by "serbianc".
1222         # FontEncoding     T2A
1223         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1224         LangCode         sr_RS
1225 End
1226
1227 # Note: script option is uppercase, even if the polyglossia
1228 #       manual states otherwise.
1229 Language serbian-latin
1230         GuiName          "Serbian (Latin)"
1231         BabelName        serbian
1232         PolyglossiaName  serbian
1233         PolyglossiaOpts  "script=Latin"
1234         QuoteStyle       polish
1235         Encoding         iso8859-2
1236         FontEncoding     T1|OT1
1237         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1238         LangCode         sr_RS-Latin
1239 End
1240
1241 Language slovak
1242         GuiName          "Slovak"
1243         HasGuiSupport    true
1244         BabelName        slovak
1245         PolyglossiaName  slovak
1246         QuoteStyle       german
1247         Encoding         iso8859-2
1248         FontEncoding     T1|OT1
1249         DateFormats      "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1250         LangCode         sk_SK
1251 End
1252
1253 Language slovene
1254         GuiName          "Slovene"
1255         BabelName        slovene
1256         PolyglossiaName  slovenian
1257         QuoteStyle       german
1258         Encoding         iso8859-2
1259         FontEncoding     T1|OT1
1260         DateFormats      "dd. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1261         LangCode         sl_SI
1262 End
1263
1264 Language spanish
1265         GuiName          "Spanish"
1266         HasGuiSupport    true
1267         BabelName        spanish
1268         PolyglossiaName  spanish
1269         QuoteStyle       french
1270         Encoding         iso8859-15
1271         FontEncoding     T1|OT1
1272         DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1273         LangCode         es_ES
1274         PostBabelPreamble
1275         \addto\shorthandsspanish{\spanishdeactivate{~<>}}
1276         EndPostBabelPreamble
1277 End
1278
1279 # there are no spanish shorthands in polyglossia
1280 Language spanish-mexico
1281         GuiName          "Spanish (Mexico)"
1282         BabelName        spanish
1283         PolyglossiaName  spanish
1284         QuoteStyle       french
1285         Encoding         iso8859-15
1286         FontEncoding     T1|OT1
1287         DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1288         LangCode         es_MX
1289         PostBabelPreamble
1290         \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
1291         EndPostBabelPreamble
1292 End
1293
1294 Language swedish
1295         GuiName          "Swedish"
1296         HasGuiSupport    true
1297         BabelName        swedish
1298         PolyglossiaName  swedish
1299         QuoteStyle       swedish
1300         Encoding         iso8859-15
1301         FontEncoding     T1|OT1
1302         DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1303         LangCode         sv_SE
1304 End
1305
1306 # not supported by babel
1307 Language syriac
1308         GuiName          "Syriac"
1309         PolyglossiaName  syriac
1310         Encoding         utf8
1311         RTL              true
1312         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1313         LangCode         syr_SY
1314 End
1315
1316 # not supported by babel
1317 Language tamil
1318         GuiName          "Tamil"
1319         PolyglossiaName  tamil
1320         Encoding         utf8
1321         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1322         LangCode         ta_IN
1323 End
1324
1325 # not supported by babel
1326 Language telugu
1327         GuiName          "Telugu"
1328         PolyglossiaName  telugu
1329         Encoding         utf8
1330         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1331         LangCode         te_IN
1332 End
1333
1334 Language thai
1335         GuiName          "Thai"
1336         BabelName        thai
1337         PolyglossiaName  thai
1338         QuoteStyle       english
1339         Encoding         tis620-0
1340         FontEncoding     LTH
1341         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1342         LangCode         th_TH
1343         # Fixme: load font package?
1344         # +1 support for font attributes in thai emphasizing etc.
1345         # -1 conflict with custom font settings and other languages' fonts
1346         # PostBabelPreamble
1347         # \usepackage{fonts-tlwg}
1348         # EndPostBabelPreamble
1349 End
1350
1351 # not supported by babel
1352 #FIXME DateFormats
1353 Language tibetan
1354         GuiName          "Tibetan"
1355         PolyglossiaName  tibetan
1356         Encoding         utf8
1357         LangCode         bo_CN
1358 End
1359
1360 Language turkish
1361         GuiName          "Turkish"
1362         HasGuiSupport    true
1363         BabelName        turkish
1364         PolyglossiaName  turkish
1365         QuoteStyle       english
1366         Encoding         iso8859-9
1367         FontEncoding     T1|OT1
1368         LangCode         tr_TR
1369         DateFormats      "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
1370         PostBabelPreamble
1371         \usepackage{xkeyval}
1372         EndPostBabelPreamble
1373 End
1374
1375 # turkmen must be loaded locally with babel options,
1376 # not globally via class options
1377 Language turkmen
1378         GuiName          "Turkmen"
1379         BabelName        turkmen
1380         PolyglossiaName  turkmen
1381         QuoteStyle       swiss
1382         Encoding         utf8
1383         FontEncoding     T1|OT1
1384         DateFormats      "yyyy ý. MMMM d|dd.MM.yyyy ý.|dd.MM.yy ý."
1385         LangCode         tk_TM
1386 End
1387
1388 Language ukrainian
1389         GuiName          "Ukrainian"
1390         HasGuiSupport    true
1391         BabelName        ukrainian
1392         PolyglossiaName  ukrainian
1393         QuoteStyle       russian
1394         Encoding         koi8-u
1395         FontEncoding     T2A
1396         DateFormats      "dd MMMM yyyy|d MM yyyy|dd.MM.yyyy"
1397         LangCode         uk_UA
1398         Provides         textcyrillic
1399 End
1400
1401 Language uppersorbian
1402         GuiName          "Upper Sorbian"
1403         BabelName        uppersorbian
1404         PolyglossiaName  usorbian
1405         QuoteStyle       german
1406         Encoding         iso8859-2
1407         FontEncoding     T1|OT1
1408         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1409         LangCode         hsb_DE
1410 End
1411
1412 # not supported by babel
1413 Language urdu
1414         GuiName          "Urdu"
1415         PolyglossiaName  urdu
1416         Encoding         utf8
1417         DateFormats      "d MMMM, yyyy|d MMM yyyy|dd/MM/yyyy"
1418         RTL              true
1419         LangCode         ur_PK
1420 End
1421
1422 Language vietnamese
1423         GuiName          "Vietnamese"
1424         BabelName        vietnamese
1425         PolyglossiaName  vietnamese
1426         QuoteStyle       english
1427         Encoding         utf8
1428         DateFormats      "dd 'tháng' MMMM yyyy|dd-MM-yyyy|dd/MM/yyyy"
1429         FontEncoding     T5
1430         LangCode         vi_VN
1431 End
1432
1433 Language welsh
1434         GuiName          "Welsh"
1435         BabelName        welsh
1436         PolyglossiaName  welsh
1437         QuoteStyle       british
1438         Encoding         iso8859-15
1439         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1440         FontEncoding     T1|OT1
1441         LangCode         cy_GB
1442 End