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