EditingLanguage

EditingLanguage enumeration

Specifies the editing language.

public enum EditingLanguage

Values

NameValueDescription
Afrikaans1078Language: Afrikaans
Albanian1052Language: Albanian
Alsatian1156Language: Alsatian
Amharic1118Language: Amharic
ArabicAlgeria5121Language: Arabic (Algeria)
ArabicBahrain15361Language: Arabic (Bahrain)
ArabicEgypt3073Language: Arabic (Egypt)
ArabicIraq2049Language: Arabic (Iraq)
ArabicJordan11265Language: Arabic (Jordan)
ArabicKuwait13313Language: Arabic (Kuwait)
ArabicLebanon12289Language: Arabic (Lebanon)
ArabicLibya4097Language: Arabic (Libya)
ArabicMorocco6145Language: Arabic (Morocco)
ArabicOman8193Language: Arabic (Oman)
ArabicQatar16385Language: Arabic (Qatar)
ArabicSaudiArabia1025Language: Arabic (Saudi Arabia)
ArabicSyria10241Language: Arabic (Syria)
ArabicTunisia7169Language: Arabic (Tunisia)
ArabicUAE14337Language: Arabic (United Arab Emirates)
ArabicYemen9217Language: Arabic (Yemen)
Armenian1067Language: Armenian
Assamese1101Language: Assamese
AzerbaijaniCyrillic2092Language: Azerbaijani (Cyrillic)
AzerbaijaniLatin1068Language: Azerbaijani (Latin)
BanglaBangladesh2117Language: Bangla (Bangladesh)
BanglaIndia1093Language: Bangla (India)
Bashkir1133Language: Bashkir
Basque1069Language: Basque
Belarusian1059Language: Belarusian
BosnianCyrillic8218Language: Bosnian (Cyrillic)
BosnianLatin5146Language: Bosnian (Latin)
Breton1150Language: Breton
Bulgarian1026Language: Bulgarian
Burmese1109Language: Burmese
Catalan1027Language: Catalan
CentralKurdishIraq1170Language: Central Kurdish (Iraq)
Cherokee1116Language: Cherokee
ChineseHongKong3076Language: Chinese (Hong Kong)
ChineseMacao5124Language: Chinese (Macao)
ChinesePRC2052Language: Chinese (PRC)
ChineseSingapore4100Language: Chinese (Singapore)
ChineseTaiwan1028Language: Chinese (Taiwan)
Corsican1155Language: Corsican
CroatianBozniaAndHerzegovina4122Language: Croatian (Bosnia and Herzegovina)
Croatian1050Language: Croatian
Czech1029Language: Czech
Danish1030Language: Danish
Divehi1125Language: Divehi
DutchBelgium2067Language: Dutch (Belgium)
DutchNetherlands1043Language: Dutch (Netherlands)
Edo1126Language: Edo
EnglishAustralia3081Language: English (Australia)
EnglishBelize10249Language: English (Belize)
EnglishCanada4105Language: English (Canada)
EnglishCaribbean9225Language: English (Caribbean)
EnglishHongKong15369Language: English (Hong Kong)
EnglishIndia16393Language: English (India)
EnglishIndonesia14345Language: English (Indonesia)
EnglishIreland6153Language: English (Ireland)
EnglishJamaica8201Language: English (Jamaica)
EnglishMalaysia17417Language: English (Malaysia)
EnglishNewZealand5129Language: English (New Zealand)
EnglishPhilippines13321Language: English (Philippines)
EnglishSingapore18441Language: English (Singapore)
EnglishSouthAfrica7177Language: English (South Africa)
EnglishTrinidadAndTobago11273Language: English (Trinidad and Tobago)
EnglishUK2057Language: English (UK)
EnglishUS1033Language: English (US)
EnglishZimbabwe12297Language: English (Zimbabwe)
Estonian1061Language: Estonian
Faeroese1080Language: Faeroese
Filipino1124Language: Filipino
Finnish1035Language: Finnish
FrenchBelgium2060Language: French (Belgium)
FrenchCanada3084Language: French (Canada)
FrenchFrance1036Language: French (France)
FrenchLuxembourg5132Language: French (Luxembourg)
FrenchMonaco6156Language: French (Monaco)
FrenchSwitzerland4108Language: French (Switzerland)
Frisian1122Language: Frisian
FulahLatinSenegal2151Language: Fulah (Latin, Senegal)
FulahNigeria1127Language: Fulah (Nigeria)
Galician1110Language: Galician
Georgian1079Language: Georgian
GermanAustria3079Language: German (Austria)
GermanGermany1031Language: German (Germany)
GermanLiechtenstein5127Language: German (Liechtenstein)
GermanLuxembourg4103Language: German (Luxembourg)
GermanSwitzerland2055Language: German (Switzerland)
Greek1032Language: Greek
Greenlandic1135Language: Greenlandic
Guarani1140Language: Guarani
Gujarati1095Language: Gujarati
Hausa1128Language: Hausa
Hawaiian1141Language: Hawaiian
Hebrew1037Language: Hebrew
Hindi1081Language: Hindi
Hungarian1038Language: Hungarian
Icelandic1039Language: Icelandic
Igbo1136Language: Igbo
InariSamiFinland9275Language: Inari Sami (Finland)
Indonesian1057Language: Indonesian
InuktitutLatin31837Language: Inuktitut (Latin)
InuktitutSyllabics30813Language: Inuktitut (Syllabics)
Irish2108Language: Irish
IsiXhosa1076Language: IsiXhosa
IsiZulu1077Language: IsiZulu
ItalianItaly1040Language: Italian (Italy)
ItalianSwitzerland2064Language: Italian (Switzerland)
Japanese1041Language: Japanese
Kannada1099Language: Kannada
Kanuri1137Language: Kanuri
Kashmiri2144Language: Kashmiri
KashmiriArabic1120Language: Kashmiri (Arabic)
Kazakh1087Language: Kazakh
Khmer1107Language: Khmer
Kiche31878Language: Kiche
Kinyarwanda1159Language: Kinyarwanda
Kiswahili1089Language: Kiswahili
Konkani1111Language: Konkani
Korean1042Language: Korean
Kyrgyz1088Language: Kyrgyz
Lao1108Language: Lao
Latin1142Language: Latin
Latvian1062Language: Latvian
Lithuanian1063Language: Lithuanian
LowerSorbian31790Language: Lower Sorbian
LuleSamiNorway4155Language: Lule Sami (Norway)
LuleSamiSweden5179Language: Lule Sami (Sweden)
Luxembougish1134Language: Luxembourgish
Macedonian1071Language: Macedonian
MalayMalaysia1086Language: Malay (Malaysia)
MalayBruneiDarussalam2110Language: Malay (Brunei Darussalam)
Malayalam1100Language: Malayalam
Maltese1082Language: Maltese
Manipuri1112Language: Manipuri
Maori1153Language: Maori
MapudungunChile1146Language: Mapudungun (Chile)
Marathi1102Language: Marathi
Mohawk1148Language: Mohawk
MongolianCyrillic1104Language: Mongolian (Cyrillic)
MongolianMongolian2128Language: Mongolian (Mongolian)
Nepali1121Language: Nepali
NorthernSamiFinland3131Language: Northern Sami (Finland)
NorthernSamiNorway1083Language: Northern Sami (Norway)
NorthernSamiSweden2107Language: Northern Sami (Sweden)
NorwegianBokmal1044Language: Norwegian Bokmal
NorwegianNynorsk2068Language: Norwegian Nynorsk
Oriya1096Language: Oriya
Oromo1138Language: Oromo
Papiamentu1145Language: Papiamentu
Pashto1123Language: Pashto
Persian1065Language: Persian
Polish1045Language: Polish
PortugueseBrazil1046Language: Portuguese (Brazil)
PortuguesePortugal2070Language: Portuguese (Portugal)
PunjabiIndia1094Language: Punjabi (India)
PunjabiPakistan2118Language: Punjabi (Pakistan)
QuechuaBolivia1131Language: Quechua (Bolivia)
QuechuaEcuador2155Language: Quechua (Ecuador)
QuechuaPeru3179Language: Quechua (Peru)
Romanian1048Language: Romanian
Romansh1047Language: Romansh
Russian1049Language: Russian
Sakha1157Language: Sakha
Sanskrit1103Language: Sanskrit
ScottishGaelic1169Language: Scottish Gaelic
SerbianCyrillicBosniaAndHerzegovina7194Language: Serbian (Cyrillic, Bosnia and Herzegovina)
SerbianCyrillicSerbiaAndMontenegro3098Language: Serbian (Cyrillic, Serbia and Montenegro)
SerbianLatinBosniaAndHerzegovina6170Language: Serbian (Latin, Bosnia and Herzegovina)
SerbianLatinSerbiaAndMontenegro2074Language: Serbian (Latin, Serbia and Montenegro)
Sindhi2137Language: Sindhi
SindhiDevanagaric1113Language: Sindhi (Devanagari)
Sinhalese1115Language: Sinhalese
Slovak1051Language: Slovak
Slovenian1060Language: Slovenian
Somali1143Language: Somali
Sorbian1070Language: Sorbian
SpanishArgentina11274Language: Spanish (Argentina)
SpanishBolivia16394Language: Spanish (Bolivia)
SpanishChile13322Language: Spanish (Chile)
SpanishColombia9226Language: Spanish (Colombia)
SpanishCostaRica5130Language: Spanish (Costa Rica)
SpanishDominicanRepublic7178Language: Spanish (Dominican Republic)
SpanishEcuador12298Language: Spanish (Ecuador)
SpanishElSalvador17418Language: Spanish (El Salvador)
SpanishGuatemala4106Language: Spanish (Guatemala)
SpanishHonduras18442Language: Spanish (Honduras)
SpanishMexico2058Language: Spanish (Mexico)
SpanishNicaragua19466Language: Spanish (Nicaragua)
SpanishPanama6154Language: Spanish (Panama)
SpanishParaguay15370Language: Spanish (Paraguay)
SpanishPeru10250Language: Spanish (Peru)
SpanishPuertoRico20490Language: Spanish (Puerto Rico)
SpanishSpainModernSort3082Language: Spanish (Spain, Modern Sort)
SpanishSpainTraditionalSort1034Language: Spanish (Spain, Traditional Sort)
SpanishUruguay14346Language: Spanish (Uruguay)
SpanishVenezuela8202Language: Spanish (Venezuela)
Sutu1072Language: Sutu
SwedishFinland2077Language: Swedish (Finland)
SwedishSweden1053Language: Swedish (Sweden)
Syriac1114Language: Syriac
Tajik1064Language: Tajik
Tamazight1119Language: Tamazight
TamazightLatin2143Language: Tamazight (Latin)
Tamil1097Language: Tamil
Tatar1092Language: Tatar
Telugu1098Language: Telugu
Thai1054Language: Thai
TibetanButan2129Language: Tibetan (Bhutan)
TibetanChina1105Language: Tibetan (China)
TigrignaEritrea2163Language: Tigrigna (Eritrea)
TigrignaEthiopia1139Language: Tigrigna (Ethiopia)
Tsonga1073Language: Tsonga
Tswana1074Language: Tswana
Turkish1055Language: Turkish
Turkmen1090Language: Turkmen
Ukrainian1058Language: Ukrainian
Urdu1056Language: Urdu
UzbekCyrillic2115Language: Uzbek (Cyrillic)
UzbekLatin1091Language: Uzbek (Latin)
Venda1075Language: Venda
Vietnamese1066Language: Vietnamese
Welsh1106Language: Welsh
Yi1144Language: Yi
Yiddish1085Language: Yiddish
Yoruba1130Language: Yoruba

Examples

Shows how to apply language preferences when loading a document.

LoadOptions loadOptions = new LoadOptions();
loadOptions.LanguagePreferences.AddEditingLanguage(EditingLanguage.Japanese);

Document doc = new Document(MyDir + "No default editing language.docx", loadOptions);

int localeIdFarEast = doc.Styles.DefaultFont.LocaleIdFarEast;
Console.WriteLine(localeIdFarEast == (int)EditingLanguage.Japanese
    ? "The document either has no any FarEast language set in defaults or it was set to Japanese originally."
    : "The document default FarEast language was set to another than Japanese language originally, so it is not overridden.");

See Also