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