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 before babel>
19 # <extra latex code inserted after babel>
20 # EndPostBabelPreamble
23 # Omitted elements will be treated as empty
24 # (omitted RTL and InternalEncoding as "false")
26 ########################################################################
29 # LyX-internal languages
64 GuiName "English (USA)"
70 # FIXME: dummy babel language for arabic_arabtex to be able
71 # to switch the language the way of the ArabTeX-package
72 Language arabic_arabtex
73 GuiName "Arabic (ArabTeX)"
81 GuiName "Arabic (Arabi)"
95 GuiName "German (Austria, old spelling)"
102 GuiName "German (Austria)"
137 GuiName "Portuguese (Brazil)"
151 GuiName "English (UK)"
165 GuiName "English (Canada)"
172 GuiName "French (Canada)"
185 Language chinese-simplified
186 GuiName "Chinese (simplified)"
191 Language chinese-traditional
192 GuiName "Chinese (traditional)"
232 # Esperanto has no country code because it is an auxiliary language
247 # the preamble definitions are only used due to bugs in the
248 # arabi-package -- remove them if they become unnecessary!
256 \DeclareTextSymbol{\guillemotright}{LFE}{62}
257 \DeclareTextSymbol{\guillemotleft}{LFE}{60}
268 # We redefine \og and \fg (guillemets) for older french language definitions
275 \addto\extrasfrench{%
276 \providecommand{\og}{\leavevmode\flqq~}
277 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}
289 # german does not use a country code (due to the variety)
291 GuiName "German (old spelling)"
306 GuiName "German (Switzerland)"
316 InternalEncoding true
320 Language polutonikogreek
321 GuiName "Greek (polytonic)"
322 BabelName polutonikogreek
324 InternalEncoding true
332 InternalEncoding true
337 # "hungarian" is a synonym for the "magyar" babel language option
338 # "hungarian" might be used for special purposes,
339 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
341 # GuiName "Hungarian"
342 # BabelName hungarian
354 # Interlingua has no country code because it is an auxiliary language
356 GuiName "Interlingua"
357 BabelName interlingua
383 Language japanese-cjk
384 GuiName "Japanese (CJK)"
396 # there is no country code for Korean because ko_KR is the same as ko_KI
403 # there is no country code for Latin because it is a dead language
425 Language lowersorbian
426 GuiName "Lower Sorbian"
427 BabelName lowersorbian
509 Language serbian-latin
510 GuiName "Serbian (Latin)"
536 \addto\shorthandsspanish{\spanishdeactivate{~<>}}
540 Language spanish-mexico
541 GuiName "Spanish (Mexico)"
546 \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
563 \usepackage{thswitch}
588 Language uppersorbian
589 GuiName "Upper Sorbian"
590 BabelName uppersorbian