DocLangID Cell (Document Properties Section)
Indicates the default language for the document.
Remarks
The document language is based on the language defined in the Microsoft Office Language Preferences dialog box. (Click Start, click All Programs, click Microsoft Office, click Microsoft Office Tools, and then click Microsoft Office Language Preferences.)
If you want to change the language for a document, instead of editing this cell directly it is best to change this value in the Properties dialog box (click the File tab, click Info, click Properties, and then click Advanced Properties) or programmatically, by using the Language property of the Document object.
The following table contains a list of languages and their corresponding LCIDs.
Language |
LCID |
---|---|
Afrikaans |
1078 |
Albanian |
1052 |
Amharic |
1118 |
Arabic |
1025 |
Armenian |
1067 |
Assamese |
1101 |
Azeri (Cyrillic) |
2092 |
Azeri (Latin) |
1068 |
Basque |
1069 |
Belarusian |
1059 |
Bengali |
1093 |
Bulgarian |
1026 |
Catalan |
1027 |
Cherokee |
1116 |
Chinese (Simplified) |
2052 |
Chinese (Traditional) |
1028 |
Croatian |
1050 |
Czech |
1029 |
Danish |
1030 |
Dhivehi |
1125 |
Dutch |
1043 |
Edo |
1126 |
English (Australian) |
3081 |
English (Canadian) |
4105 |
English ( U.K.) |
2057 |
English (U.S.) |
1033 |
Estonian |
1061 |
Faeroese |
1080 |
Filipino |
1124 |
Finnish |
1035 |
French |
1036 |
French (Canadian) |
3084 |
Frisian |
1122 |
Fulfulde |
1127 |
Galician |
1110 |
Georgian |
1079 |
German |
1031 |
German (Austrian) |
3079 |
German (Swiss) |
2055 |
Greek |
1032 |
Gujarati |
1095 |
Hausa |
1128 |
Hawaiian |
1141 |
Hebrew |
1037 |
Hindi |
1081 |
Hungarian |
1038 |
Ibibio |
1129 |
Icelandic |
1039 |
Igbo |
1136 |
Indonesian |
1057 |
Inuktitut |
1117 |
Italian |
1040 |
Japanese |
1041 |
Kannada |
1099 |
Kanuri |
1137 |
Kashmiri |
2144 |
Kashmiri (Arabic) |
1120 |
Kazakh |
1087 |
Kyrgyz |
1088 |
Konkani |
1111 |
Korean |
1042 |
Latin |
1142 |
Latvian |
1062 |
Lithuanian |
1063 |
Macedonian (F.Y.R.O. Macedonia) |
1071 |
Malay |
1086 |
Malayalam |
1100 |
Maltese |
1082 |
Manipuri |
1112 |
Marathi |
1102 |
Mongolian |
1104 |
Nepali |
1121 |
Norwegian Bokmal |
1044 |
Norwegian Nynorsk |
2068 |
Oriya |
1096 |
Oromo |
1138 |
Pashto |
1123 |
Persian |
1065 |
Polish |
1045 |
Portuguese (Brazil) |
1046 |
Portuguese (Portugal) |
2070 |
Punjabi |
1094 |
Romanian |
1048 |
Russian |
1049 |
Sanskrit |
1103 |
Serbian (Cyrillic) |
3098 |
Serbian (Latin) |
2074 |
Sindhi |
1113 |
Sinhalese |
1115 |
Slovak |
1051 |
Slovenian |
1060 |
Somali |
1143 |
Spanish |
3082 |
Swahili |
1089 |
Swedish |
1053 |
Syriac |
1114 |
Tajik |
1064 |
Tamazight (Arabic, Morocco) |
1119 |
Tamazight (Latin) |
2143 |
Tamil |
1097 |
Tatar |
1092 |
Telugu |
1098 |
Thai |
1054 |
Tigrigna (Ethiopia) |
1139 |
Tigrigna (Eritrea) |
2163 |
Turkish |
1055 |
Turkmen |
1090 |
Ukrainian |
1058 |
Urdu |
1056 |
Uzbek (Cyrillic) |
2115 |
Uzbek (Latin) |
1091 |
Vietnamese |
1066 |
Yi |
1144 |
Yiddish |
1085 |
Yoruba |
1130 |
To get a reference to the DocLangID cell by name from another formula, or from a program by using the CellsU property, use:
Cell name: |
DocLangID |
To get a reference to the DocLangID cell by index from a program, use the CellsSRC property with the following arguments:
Section index: |
visSectionObject |
Row index: |
visRowDoc |
Cell index: |
visDocLangID |