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