Update some polyglossia names

and add TODOs for not yet supported polyglossia languages
This commit is contained in:
Juergen Spitzmueller 2024-08-24 15:10:20 +02:00
parent 7e09f574ba
commit b249140cf1

View File

@ -369,7 +369,7 @@ Language bahasa
GuiName "Indonesian" GuiName "Indonesian"
HasGuiSupport true HasGuiSupport true
BabelName bahasa BabelName bahasa
PolyglossiaName bahasai PolyglossiaName malay
QuoteStyle english QuoteStyle english
Encoding iso8859-15 Encoding iso8859-15
FontEncoding ASCII FontEncoding ASCII
@ -380,7 +380,8 @@ End
Language bahasam Language bahasam
GuiName "Malay" GuiName "Malay"
BabelName bahasam BabelName bahasam
PolyglossiaName bahasam PolyglossiaName malay
PolyglossiaOpts "variant=malaysian"
QuoteStyle english QuoteStyle english
Encoding iso8859-15 Encoding iso8859-15
DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy" DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
@ -443,7 +444,8 @@ Language brazilian
GuiName "Portuguese (Brazil)" GuiName "Portuguese (Brazil)"
HasGuiSupport true HasGuiSupport true
BabelName brazil BabelName brazil
PolyglossiaName brazil PolyglossiaName portuguese
PolyglossiaOpts "variant=brazilian"
XindyName portuguese XindyName portuguese
QuoteStyle english QuoteStyle english
Encoding iso8859-15 Encoding iso8859-15
@ -536,6 +538,8 @@ End
Language chinese-simplified Language chinese-simplified
GuiName "Chinese (simplified)" GuiName "Chinese (simplified)"
HasGuiSupport true HasGuiSupport true
# TODO
# PolyglossiaName chinese
Encoding euc-cn Encoding euc-cn
QuoteStyle english QuoteStyle english
WordWrap false WordWrap false
@ -548,6 +552,9 @@ End
Language chinese-traditional Language chinese-traditional
GuiName "Chinese (traditional)" GuiName "Chinese (traditional)"
HasGuiSupport true HasGuiSupport true
# TODO
# PolyglossiaName chinese
# PolyglossiaOpts "variant=traditional"
QuoteStyle cjk QuoteStyle cjk
Encoding utf8-cjk Encoding utf8-cjk
WordWrap false WordWrap false
@ -687,7 +694,7 @@ End
Language farsi Language farsi
GuiName "Farsi" GuiName "Farsi"
BabelName farsi BabelName farsi
PolyglossiaName farsi PolyglossiaName persian
XindyName persian XindyName persian
Encoding utf8 Encoding utf8
FontEncoding LAE,LFE FontEncoding LAE,LFE
@ -733,7 +740,7 @@ Language friulan
GuiName "Friulian" GuiName "Friulian"
HasGuiSupport true HasGuiSupport true
BabelName friulan BabelName friulan
PolyglossiaName friulan PolyglossiaName friulian
QuoteStyle french QuoteStyle french
Encoding iso8859-15 Encoding iso8859-15
FontEncoding T1|OT1 FontEncoding T1|OT1
@ -935,7 +942,7 @@ End
Language irish Language irish
GuiName "Irish" GuiName "Irish"
BabelName irish BabelName irish
PolyglossiaName irish PolyglossiaName gaelic
QuoteStyle english QuoteStyle english
Encoding iso8859-15 Encoding iso8859-15
FontEncoding T1|OT1 FontEncoding T1|OT1
@ -963,6 +970,8 @@ Language japanese
HasGuiSupport true HasGuiSupport true
BabelName japanese BabelName japanese
BabelOptFormat \languageattribute{$lang$}{$opts$} BabelOptFormat \languageattribute{$lang$}{$opts$}
# TODO
# PolyglossiaName japanese
Encoding jis-platex Encoding jis-platex
WordWrap false WordWrap false
LangCode ja_JP LangCode ja_JP
@ -1037,8 +1046,8 @@ Language kurmanji
BabelName kurmanji BabelName kurmanji
BabelOptFormat \languageattribute{$lang$}{$opts$} BabelOptFormat \languageattribute{$lang$}{$opts$}
PolyglossiaName kurdish PolyglossiaName kurdish
XindyName kurdish-bedirxan
PolyglossiaOpts "variant=kurmanji" PolyglossiaOpts "variant=kurmanji"
XindyName kurdish-bedirxan
Encoding utf8 Encoding utf8
FontEncoding T1|OT1 FontEncoding T1|OT1
DateFormats "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd" DateFormats "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd"
@ -1054,7 +1063,7 @@ Language lao
LangCode lo_LA LangCode lo_LA
End End
# There is no country code for Latin because it is a dead language. # There is no country code for Latin.
# We therefore the name of its hunspell dictionary. # We therefore the name of its hunspell dictionary.
# FIXME DateFormats # FIXME DateFormats
Language latin Language latin
@ -1069,6 +1078,8 @@ Language latin
LangCode la_LA LangCode la_LA
End End
# TODO: support Latin varieties (classic, medieval, eccelesiastic)
# latvian must be loaded locally with babel options, # latvian must be loaded locally with babel options,
# not globally via class options # not globally via class options
# FontEncoding: L7x required for hyphenation but not set by Babel # FontEncoding: L7x required for hyphenation but not set by Babel
@ -1122,7 +1133,8 @@ End
Language lowersorbian Language lowersorbian
GuiName "Lower Sorbian" GuiName "Lower Sorbian"
BabelName lowersorbian BabelName lowersorbian
PolyglossiaName lsorbian PolyglossiaName sorbian
PolyglossiaOpts "variant=lower"
XindyName lower-sorbian XindyName lower-sorbian
QuoteStyle german QuoteStyle german
Encoding iso8859-2 Encoding iso8859-2
@ -1136,7 +1148,7 @@ Language magyar
HasGuiSupport true HasGuiSupport true
BabelName magyar BabelName magyar
BabelOptFormat \magyarOptions{$opts§} BabelOptFormat \magyarOptions{$opts§}
PolyglossiaName magyar PolyglossiaName hungarian
XindyName hungarian XindyName hungarian
QuoteStyle hungarian QuoteStyle hungarian
Encoding iso8859-2 Encoding iso8859-2
@ -1204,19 +1216,7 @@ Language newzealand
LangCode en_NZ LangCode en_NZ
End End
Language norsk # TODO:
GuiName "Norwegian (Bokmaal)"
HasGuiSupport true
BabelName norsk
PolyglossiaName norsk
XindyName norwegian
QuoteStyle swiss
Encoding iso8859-15
FontEncoding T1|OT1
DateFormats "d. MMMM yyyy|d. MMM yyyy|dd./MM./yyyy"
LangCode nb_NO
End
# supported by polyglossia but not LyX: # supported by polyglossia but not LyX:
# Language nko # Language nko
# GuiName "NKo" # GuiName "NKo"
@ -1233,11 +1233,25 @@ End
# LangCode nqo # LangCode nqo
# End # End
Language norsk
GuiName "Norwegian (Bokmaal)"
HasGuiSupport true
BabelName norsk
PolyglossiaName norwegian
PolyglossiaOpts "variant=bokmal"
XindyName norwegian
QuoteStyle swiss
Encoding iso8859-15
FontEncoding T1|OT1
DateFormats "d. MMMM yyyy|d. MMM yyyy|dd./MM./yyyy"
LangCode nb_NO
End
Language nynorsk Language nynorsk
GuiName "Norwegian (Nynorsk)" GuiName "Norwegian (Nynorsk)"
HasGuiSupport true HasGuiSupport true
BabelName nynorsk BabelName nynorsk
PolyglossiaName nynorsk PolyglossiaName norwegian
XindyName norwegian XindyName norwegian
QuoteStyle swiss QuoteStyle swiss
Encoding iso8859-15 Encoding iso8859-15
@ -1256,7 +1270,8 @@ Language occitan
LangCode oc_FR LangCode oc_FR
End End
# Currently not supported (file format change!) # TODO: odia (polyglossia)
# Russian orthography from the Petrine orthographic reforms of # Russian orthography from the Petrine orthographic reforms of
# 1708 to the 1917 orthographic reform # 1708 to the 1917 orthographic reform
Language oldrussian Language oldrussian
@ -1298,7 +1313,7 @@ Language portuguese
GuiName "Portuguese" GuiName "Portuguese"
HasGuiSupport true HasGuiSupport true
BabelName portuges BabelName portuges
PolyglossiaName portuges PolyglossiaName portuguese
XindyName portuguese XindyName portuguese
QuoteStyle french QuoteStyle french
Encoding iso8859-15 Encoding iso8859-15
@ -1307,6 +1322,8 @@ Language portuguese
LangCode pt_PT LangCode pt_PT
End End
# TODO: punjabi (polyglossia)
Language romanian Language romanian
GuiName "Romanian" GuiName "Romanian"
HasGuiSupport true HasGuiSupport true
@ -1352,7 +1369,7 @@ End
Language samin Language samin
GuiName "North Sami" GuiName "North Sami"
BabelName samin BabelName samin
PolyglossiaName samin PolyglossiaName sami
Encoding iso8859-15 Encoding iso8859-15
FontEncoding T1|OT1 FontEncoding T1|OT1
DateFormats "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy" DateFormats "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
@ -1373,7 +1390,8 @@ End
Language scottish Language scottish
GuiName "Scottish" GuiName "Scottish"
BabelName scottish BabelName scottish
PolyglossiaName scottish PolyglossiaName gaelic
PolyglossiaOpts "variant=scottish"
QuoteStyle english QuoteStyle english
Encoding iso8859-15 Encoding iso8859-15
FontEncoding T1|OT1 FontEncoding T1|OT1
@ -1392,7 +1410,7 @@ Language serbian
BabelName serbianc BabelName serbianc
BabelOptFormat modifier BabelOptFormat modifier
PolyglossiaName serbian PolyglossiaName serbian
PolyglossiaOpts "script=Cyrillic" PolyglossiaOpts "script=cyrillic"
XindyName serbian XindyName serbian
# Note: script option is uppercase, even if the polyglossia # Note: script option is uppercase, even if the polyglossia
# manual states otherwise. # manual states otherwise.
@ -1409,7 +1427,7 @@ Language serbian-latin
BabelName serbian BabelName serbian
BabelOptFormat modifier BabelOptFormat modifier
PolyglossiaName serbian PolyglossiaName serbian
PolyglossiaOpts "script=Latin" PolyglossiaOpts "script=latin"
XindyName croatian XindyName croatian
QuoteStyle polish QuoteStyle polish
Encoding iso8859-2 Encoding iso8859-2
@ -1615,7 +1633,7 @@ End
Language uppersorbian Language uppersorbian
GuiName "Upper Sorbian" GuiName "Upper Sorbian"
BabelName uppersorbian BabelName uppersorbian
PolyglossiaName usorbian PolyglossiaName sorbian
XindyName upper-sorbian XindyName upper-sorbian
QuoteStyle german QuoteStyle german
Encoding iso8859-2 Encoding iso8859-2
@ -1634,6 +1652,8 @@ Language urdu
LangCode ur_PK LangCode ur_PK
End End
# TODO: uyghur (polyglossia)
Language vietnamese Language vietnamese
GuiName "Vietnamese" GuiName "Vietnamese"
BabelName vietnamese BabelName vietnamese