]> git.lyx.org Git - lyx.git/blob - lib/languages
2ae77bc977d840f722b4a534c8609f9a608ca079
[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 # Since japanese does not load fontenc, we set
849 # InternalEncoding to true.
850 Language japanese
851         GuiName          "Japanese"
852         HasGuiSupport    true
853         BabelName        japanese
854         Encoding         jis-platex
855         LangCode         ja_JP
856         Requires         japanese
857         InternalEncoding true
858         FontEncoding     None
859         DateFormats      "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
860         QuoteStyle       cjk
861 End
862
863 # uses CJK package
864 Language japanese-cjk
865         GuiName         "Japanese (CJK)"
866         Encoding        euc-jp
867         DateFormats      "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
868         LangCode        ja_JP
869         Requires        CJK
870         QuoteStyle      cjk
871 End
872
873 # not supported by babel
874 Language kannada
875         GuiName          "Kannada"
876         PolyglossiaName  kannada
877         Encoding         utf8
878         DateFormats      "dd MMMM yyyy|dd MMMM yyyy|dd-MM-yyyy"
879         LangCode         kn_IN
880 End
881
882 # not yet supported by polyglossia
883 # not supported by babel
884 Language kazakh
885         GuiName          "Kazakh"
886         Encoding         ascii
887         FontEncoding     T2A
888         DateFormats      "dd MMMM yyyy|dd MMMM yyyy|yyyy-dd-MM"
889         LangCode         kk_KZ
890         # FIXME: this sets the global font encoding also
891         # if Kazakh is only used as secondary language.
892         PostBabelPreamble
893         \input{t2aenc.def}
894         \AtBeginDocument{\fontencoding{T2A}\selectfont}
895         EndPostBabelPreamble
896 End
897
898 # not supported by babel
899 Language khmer
900         GuiName          "Khmer"
901         PolyglossiaName  khmer
902         Encoding         utf8
903         DateFormats      "d MMMM yyyy|d MMMM yyyy|dd/MM/yyyy"
904         LangCode         km_KH
905 End
906
907 Language korean
908         GuiName         "Korean"
909         Encoding        euc-kr
910         QuoteStyle      cjkangle
911         DateFormats     "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
912         LangCode        ko_KR
913         Requires        CJK
914 End
915
916 # not yet supported by polyglossia
917 Language kurmanji
918         GuiName          "Kurmanji"
919         BabelName        kurmanji
920         Encoding         utf8
921         FontEncoding     T1|OT1
922         DateFormats      "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd"
923         LangCode         kmr
924 End
925
926 # not supported by babel
927 Language lao
928         GuiName          "Lao"
929         PolyglossiaName  lao
930         Encoding         utf8
931         DateFormats      "dd MMMM yyyy|dd MMMM yyyy|dd/MM/yyyy"
932         LangCode         lo_LA
933 End
934
935 # There is no country code for Latin because it is a dead language.
936 # We therefore the name of its hunspell dictionary.
937 # FIXME DateFormats
938 Language latin
939         GuiName          "Latin"
940         BabelName        latin
941         PolyglossiaName  latin
942         Encoding         iso8859-15
943         FontEncoding     T1|OT1
944         LangCode         la_LA
945 End
946
947 # latvian must be loaded locally with babel options,
948 # not globally via class options
949 # FontEncoding: L7x required for hyphenation but not set by Babel
950 Language latvian
951         GuiName          "Latvian"
952         BabelName        latvian
953         PolyglossiaName  latvian
954         QuoteStyle       german
955         Encoding         iso8859-4
956         FontEncoding     L7x|T1|OT1
957         DateFormats      "yyyy. 'gada' d. MMMM|yyyy. 'gada' d. MMM|dd.MM.yyyy"
958         LangCode         lv_LV
959 End
960
961 # lithuanian must be loaded locally with babel options,
962 # not globally via class options
963 # FontEncoding: L7x set by Babel
964 Language lithuanian
965         GuiName          "Lithuanian"
966         BabelName        lithuanian
967         PolyglossiaName  lithuanian
968         QuoteStyle       german
969         Encoding         iso8859-13
970         FontEncoding     L7x
971         DateFormats      "yyyy 'm.' MMMM d 'd.'|yyyy 'm.' MMMM d 'd.'|yyyy-MM-dd"
972         LangCode         lt_LT
973 End
974
975 Language lowersorbian
976         GuiName          "Lower Sorbian"
977         BabelName        lowersorbian
978         PolyglossiaName  lsorbian
979         QuoteStyle       german
980         Encoding         iso8859-2
981         FontEncoding     T1|OT1
982         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
983         LangCode         dsb_DE
984 End
985
986 Language magyar
987         GuiName          "Hungarian"
988         HasGuiSupport    true
989         BabelName        magyar
990         PolyglossiaName  magyar
991         QuoteStyle       polish
992         Encoding         iso8859-2
993         FontEncoding     T1|OT1
994         DateFormats      "yyyy. MMMM d.|yyyy. MMM d.|yyyy.MM.dd."
995         LangCode         hu_HU
996 End
997
998 # not yet supported by polyglossia
999 Language macedonian
1000         GuiName          "Macedonian"
1001         BabelName        macedonian
1002         QuoteStyle       german
1003         Encoding         cp1251
1004         FontEncoding     T2A
1005         DateFormats      "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
1006         LangCode         mk_MK
1007         Provides         textcyrillic
1008 End
1009
1010 # not supported by babel
1011 Language malayalam
1012         GuiName          "Malayalam"
1013         PolyglossiaName  malayalam
1014         Encoding         utf8
1015         QuoteStyle       english
1016         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1017         LangCode         ml_IN
1018 End
1019
1020 # not supported by babel
1021 Language marathi
1022         GuiName          "Marathi"
1023         PolyglossiaName  marathi
1024         Encoding         utf8
1025         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1026         LangCode         mr_IN
1027 End
1028
1029 # mongolian must be loaded locally with babel options,
1030 # not globally via class options
1031 # not yet supported by polyglossia
1032 Language mongolian
1033         GuiName          "Mongolian"
1034         BabelName        mongolian
1035         Encoding         utf8
1036         FontEncoding     T2A
1037         DateFormats      "yyyy оны M сарын d|d-M-yyyy|dd-MM-yyyy"
1038         LangCode         mn_MN
1039         Provides         textcyrillic
1040 End
1041
1042 Language newzealand
1043         GuiName          "English (New Zealand)"
1044         BabelName        newzealand
1045         PolyglossiaName  english
1046         PolyglossiaOpts  "variant=newzealand"
1047         QuoteStyle       english
1048         Encoding         iso8859-15
1049         FontEncoding     ASCII
1050         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1051         LangCode         en_NZ
1052 End
1053
1054 Language norsk
1055         GuiName          "Norwegian (Bokmaal)"
1056         HasGuiSupport    true
1057         BabelName        norsk
1058         PolyglossiaName  norsk
1059         QuoteStyle       swiss
1060         Encoding         iso8859-15
1061         FontEncoding     T1|OT1
1062         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1063         LangCode         nb_NO
1064 End
1065
1066 Language nynorsk
1067         GuiName          "Norwegian (Nynorsk)"
1068         HasGuiSupport    true
1069         BabelName        nynorsk
1070         PolyglossiaName  nynorsk
1071         QuoteStyle       swiss
1072         Encoding         iso8859-15
1073         FontEncoding     T1|OT1
1074         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1075         LangCode         nn_NO
1076 End
1077
1078 # not supported by babel
1079 Language occitan
1080         GuiName          "Occitan"
1081         PolyglossiaName  occitan
1082         QuoteStyle       french
1083         Encoding         utf8
1084         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1085         LangCode         oc_FR
1086 End
1087
1088 # Currently not supported (file format change!)
1089 # Russian orthography from the Petrine orthographic reforms of
1090 # 1708 to the 1917 orthographic reform
1091 # Note: If this is enabled, russian needs to get
1092 #       PolyglossiaOpts  "spelling=modern"
1093 # Language oldrussian
1094 #       GuiName          "Russian (Petrine orthography)"
1095 #       PolyglossiaName  russian
1096 #       PolyglossiaOpts  "spelling=old"
1097 #       LangCode         ru_petr1708
1098 #       QuoteStyle       russian
1099 # End
1100
1101 # FIXME DateFormats
1102 Language piedmontese
1103         GuiName          "Piedmontese"
1104         HasGuiSupport    true
1105         BabelName        piedmontese
1106         PolyglossiaName  piedmontese
1107         QuoteStyle       french
1108         Encoding         iso8859-15
1109         FontEncoding     ASCII
1110         LangCode         pms_IT
1111 End
1112
1113 # FontEncoding: QX required for hyphenation but not set by babel
1114 Language polish
1115         GuiName          "Polish"
1116         HasGuiSupport    true
1117         BabelName        polish
1118         PolyglossiaName  polish
1119         QuoteStyle       polish
1120         Encoding         iso8859-2
1121         FontEncoding     QX|T1|OT1
1122         DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1123         LangCode         pl_PL
1124 End
1125
1126 Language portuguese
1127         GuiName          "Portuguese"
1128         HasGuiSupport    true
1129         BabelName        portuges
1130         PolyglossiaName  portuges
1131         QuoteStyle       french
1132         Encoding         iso8859-15
1133         FontEncoding     T1|OT1
1134         DateFormats      "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|yyyy/MM/dd"
1135         LangCode         pt_PT
1136 End
1137
1138 Language romanian
1139         GuiName          "Romanian"
1140         HasGuiSupport    true
1141         BabelName        romanian
1142         PolyglossiaName  romanian
1143         QuoteStyle       polish
1144         Encoding         iso8859-16
1145         FontEncoding     T1|OT1
1146         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1147         LangCode         ro_RO
1148 End
1149
1150 Language romansh
1151         GuiName          "Romansh"
1152         HasGuiSupport    true
1153         BabelName        romansh
1154         PolyglossiaName  romansh
1155         QuoteStyle       german
1156         Encoding         iso8859-15
1157         FontEncoding     ASCII
1158         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1159         LangCode         rm_CH
1160 End
1161
1162 Language russian
1163         GuiName          "Russian"
1164         HasGuiSupport    true
1165         BabelName        russian
1166         PolyglossiaName  russian
1167         QuoteStyle       russian
1168         Encoding         koi8-r
1169         FontEncoding     T2A
1170         DateFormats      "d MMMM yyyy 'г'.|d MMM yyyy 'г'.|dd.MM.yyyy"
1171         LangCode         ru_RU
1172         Provides         textcyrillic
1173 End
1174
1175 # FontEncoding: no hyphenation, but diacritics
1176 Language samin
1177         GuiName          "North Sami"
1178         BabelName        samin
1179         PolyglossiaName  samin
1180         Encoding         iso8859-15
1181         FontEncoding     T1|OT1
1182         DateFormats      "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
1183         LangCode         se_NO
1184 End
1185
1186 # not supported by babel
1187 Language sanskrit
1188         GuiName          "Sanskrit"
1189         PolyglossiaName  sanskrit
1190         Encoding         utf8
1191         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1192         LangCode         sa_IN
1193 End
1194
1195 # Gaidhlig (Scottish Gaelic)
1196 # FontEncoding: no hyphenation, grave accent (à, è, ì, ò, ù)
1197 Language scottish
1198         GuiName          "Scottish"
1199         BabelName        scottish
1200         PolyglossiaName  scottish
1201         QuoteStyle       english
1202         Encoding         iso8859-15
1203         FontEncoding     T1|OT1
1204         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1205         LangCode         gd_GB
1206 End
1207
1208 # Note: script option is uppercase, even if the polyglossia
1209 #       manual states otherwise.
1210 Language serbian
1211         GuiName          "Serbian"
1212         HasGuiSupport    true
1213         BabelName        serbianc
1214         PolyglossiaName  serbian
1215         PolyglossiaOpts  "script=Cyrillic"
1216         QuoteStyle       polish
1217         Encoding         utf8
1218         # Cyrillic font encoding required but not set by "serbianc".
1219         # FontEncoding     T2A
1220         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1221         LangCode         sr_RS
1222 End
1223
1224 # Note: script option is uppercase, even if the polyglossia
1225 #       manual states otherwise.
1226 Language serbian-latin
1227         GuiName          "Serbian (Latin)"
1228         BabelName        serbian
1229         PolyglossiaName  serbian
1230         PolyglossiaOpts  "script=Latin"
1231         QuoteStyle       polish
1232         Encoding         iso8859-2
1233         FontEncoding     T1|OT1
1234         DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1235         LangCode         sr_RS-Latin
1236 End
1237
1238 Language slovak
1239         GuiName          "Slovak"
1240         HasGuiSupport    true
1241         BabelName        slovak
1242         PolyglossiaName  slovak
1243         QuoteStyle       german
1244         Encoding         iso8859-2
1245         FontEncoding     T1|OT1
1246         DateFormats      "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1247         LangCode         sk_SK
1248 End
1249
1250 Language slovene
1251         GuiName          "Slovene"
1252         BabelName        slovene
1253         PolyglossiaName  slovenian
1254         QuoteStyle       german
1255         Encoding         iso8859-2
1256         FontEncoding     T1|OT1
1257         DateFormats      "dd. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1258         LangCode         sl_SI
1259 End
1260
1261 Language spanish
1262         GuiName          "Spanish"
1263         HasGuiSupport    true
1264         BabelName        spanish
1265         PolyglossiaName  spanish
1266         QuoteStyle       french
1267         Encoding         iso8859-15
1268         FontEncoding     T1|OT1
1269         DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1270         LangCode         es_ES
1271         PostBabelPreamble
1272         \addto\shorthandsspanish{\spanishdeactivate{~<>}}
1273         EndPostBabelPreamble
1274 End
1275
1276 # there are no spanish shorthands in polyglossia
1277 Language spanish-mexico
1278         GuiName          "Spanish (Mexico)"
1279         BabelName        spanish
1280         PolyglossiaName  spanish
1281         QuoteStyle       french
1282         Encoding         iso8859-15
1283         FontEncoding     T1|OT1
1284         DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1285         LangCode         es_MX
1286         PostBabelPreamble
1287         \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
1288         EndPostBabelPreamble
1289 End
1290
1291 Language swedish
1292         GuiName          "Swedish"
1293         HasGuiSupport    true
1294         BabelName        swedish
1295         PolyglossiaName  swedish
1296         QuoteStyle       swedish
1297         Encoding         iso8859-15
1298         FontEncoding     T1|OT1
1299         DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1300         LangCode         sv_SE
1301 End
1302
1303 # not supported by babel
1304 Language syriac
1305         GuiName          "Syriac"
1306         PolyglossiaName  syriac
1307         Encoding         utf8
1308         RTL              true
1309         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1310         LangCode         syr_SY
1311 End
1312
1313 # not supported by babel
1314 Language tamil
1315         GuiName          "Tamil"
1316         PolyglossiaName  tamil
1317         Encoding         utf8
1318         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1319         LangCode         ta_IN
1320 End
1321
1322 # not supported by babel
1323 Language telugu
1324         GuiName          "Telugu"
1325         PolyglossiaName  telugu
1326         Encoding         utf8
1327         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1328         LangCode         te_IN
1329 End
1330
1331 Language thai
1332         GuiName          "Thai"
1333         BabelName        thai
1334         PolyglossiaName  thai
1335         QuoteStyle       english
1336         Encoding         tis620-0
1337         FontEncoding     LTH
1338         DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1339         LangCode         th_TH
1340         # Fixme: load font package?
1341         # +1 support for font attributes in thai emphasizing etc.
1342         # -1 conflict with custom font settings and other languages' fonts
1343         # PostBabelPreamble
1344         # \usepackage{fonts-tlwg}
1345         # EndPostBabelPreamble
1346 End
1347
1348 # not supported by babel
1349 #FIXME DateFormats
1350 Language tibetan
1351         GuiName          "Tibetan"
1352         PolyglossiaName  tibetan
1353         Encoding         utf8
1354         LangCode         bo_CN
1355 End
1356
1357 Language turkish
1358         GuiName          "Turkish"
1359         HasGuiSupport    true
1360         BabelName        turkish
1361         PolyglossiaName  turkish
1362         QuoteStyle       english
1363         Encoding         iso8859-9
1364         FontEncoding     T1|OT1
1365         LangCode         tr_TR
1366         DateFormats      "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
1367         PostBabelPreamble
1368         \usepackage{xkeyval}
1369         EndPostBabelPreamble
1370 End
1371
1372 # turkmen must be loaded locally with babel options,
1373 # not globally via class options
1374 Language turkmen
1375         GuiName          "Turkmen"
1376         BabelName        turkmen
1377         PolyglossiaName  turkmen
1378         QuoteStyle       swiss
1379         Encoding         utf8
1380         FontEncoding     T1|OT1
1381         DateFormats      "yyyy ý. MMMM d|dd.MM.yyyy ý.|dd.MM.yy ý."
1382         LangCode         tk_TM
1383 End
1384
1385 Language ukrainian
1386         GuiName          "Ukrainian"
1387         HasGuiSupport    true
1388         BabelName        ukrainian
1389         PolyglossiaName  ukrainian
1390         QuoteStyle       russian
1391         Encoding         koi8-u
1392         FontEncoding     T2A
1393         DateFormats      "dd MMMM yyyy|d MM yyyy|dd.MM.yyyy"
1394         LangCode         uk_UA
1395         Provides         textcyrillic
1396 End
1397
1398 Language uppersorbian
1399         GuiName          "Upper Sorbian"
1400         BabelName        uppersorbian
1401         PolyglossiaName  usorbian
1402         QuoteStyle       german
1403         Encoding         iso8859-2
1404         FontEncoding     T1|OT1
1405         DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1406         LangCode         hsb_DE
1407 End
1408
1409 # not supported by babel
1410 Language urdu
1411         GuiName          "Urdu"
1412         PolyglossiaName  urdu
1413         Encoding         utf8
1414         DateFormats      "d MMMM, yyyy|d MMM yyyy|dd/MM/yyyy"
1415         RTL              true
1416         LangCode         ur_PK
1417 End
1418
1419 Language vietnamese
1420         GuiName          "Vietnamese"
1421         BabelName        vietnamese
1422         PolyglossiaName  vietnamese
1423         QuoteStyle       english
1424         Encoding         utf8
1425         DateFormats      "dd 'tháng' MMMM yyyy|dd-MM-yyyy|dd/MM/yyyy"
1426         FontEncoding     T5
1427         LangCode         vi_VN
1428 End
1429
1430 Language welsh
1431         GuiName          "Welsh"
1432         BabelName        welsh
1433         PolyglossiaName  welsh
1434         QuoteStyle       british
1435         Encoding         iso8859-15
1436         DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1437         FontEncoding     T1|OT1
1438         LangCode         cy_GB
1439 End