1 ########################################################################
3 # Languages supported by LyX.
9 # BabelName <babelname>
11 # InternalEncoding <true|false>
13 # LangCode <language_code>
14 # LangVariety <language_variety>
16 # <extra latex code inserted after babel>
17 # EndPostBabelPreamble
20 # Omitted elements will be treated as empty
21 # (omitted RTL and InternalEncoding as "false")
23 ########################################################################
26 # LyX-internal languages
61 GuiName "English (USA)"
67 # FIXME: dummy babel language for arabic_arabtex to be able
68 # to switch the language the way of the ArabTeX-package
69 Language arabic_arabtex
70 GuiName "Arabic (ArabTeX)"
78 GuiName "Arabic (Arabi)"
92 GuiName "German (Austria, old spelling)"
99 GuiName "German (Austria)"
134 GuiName "Portuguese (Brazil)"
148 GuiName "English (UK)"
162 GuiName "English (Canada)"
169 GuiName "French (Canada)"
182 Language chinese-simplified
183 GuiName "Chinese (simplified)"
188 Language chinese-traditional
189 GuiName "Chinese (traditional)"
229 # Esperanto has no country code because it is an auxiliary language
244 # the preamble definitions are only used due to bugs in the
245 # arabi-package -- remove them if they become unnecessary!
253 \DeclareTextSymbol{\guillemotright}{LFE}{62}
254 \DeclareTextSymbol{\guillemotleft}{LFE}{60}
265 # We redefine \og and \fg (guillemets) for older french language definitions
272 \addto\extrasfrench{%
273 \providecommand{\og}{\leavevmode\flqq~}
274 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}
286 # german does not use a country code (due to the variety)
288 GuiName "German (old spelling)"
303 GuiName "German (Switzerland)"
313 InternalEncoding true
317 Language polutonikogreek
318 GuiName "Greek (polytonic)"
319 BabelName polutonikogreek
321 InternalEncoding true
329 InternalEncoding true
334 # "hungarian" is a synonym for the "magyar" babel language option
335 # "hungarian" might be used for special purposes,
336 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
338 # GuiName "Hungarian"
339 # BabelName hungarian
351 # Interlingua has no country code because it is an auxiliary language
353 GuiName "Interlingua"
354 BabelName interlingua
380 Language japanese-cjk
381 GuiName "Japanese (CJK)"
393 # there is no country code for Korean because ko_KR is the same as ko_KI
400 # there is no country code for Latin because it is a dead language
422 Language lowersorbian
423 GuiName "Lower Sorbian"
424 BabelName lowersorbian
506 Language serbian-latin
507 GuiName "Serbian (Latin)"
533 \addto\shorthandsspanish{\spanishdeactivate{~<>}}
537 Language spanish-mexico
538 GuiName "Spanish (Mexico)"
543 \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
560 \usepackage{thswitch}
585 Language uppersorbian
586 GuiName "Upper Sorbian"
587 BabelName uppersorbian