프로그래밍

CultureInfo를 사용한 모든 언어 정보 얻어오기

반응형

vb.net에서 CultureInfo를 사용한 모든 언어 정보를 얻어오는 방법입니다.

 

msdn 링크

https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(v=vs.110).aspx

 

 

현재 사용중인 시스템의 언어정보는 CultureInfo.CurrentCulture.Name 으로 사용가능합니다.

 

 

 

소스코드

 

Dim cultures As CultureInfo() = CultureInfo.GetCultures(CultureTypes.SpecificCultures)
Dim arlist As New List(Of String)
For Each culture As CultureInfo In cultures
    Dim region As New RegionInfo(culture.LCID)
    arlist.Add(region.GeoId & " - " & culture.Name & " - " & culture.EnglishName)
Next
Clipboard.SetText(String.Join(vbNewLine, arlist.ToArray))

 

 

결과

 

205 - ar-SA - Arabic (Saudi Arabia)
35 - bg-BG - Bulgarian (Bulgaria)
217 - ca-ES - Catalan (Catalan)
237 - zh-TW - Chinese (Taiwan)
75 - cs-CZ - Czech (Czech Republic)
61 - da-DK - Danish (Denmark)
94 - de-DE - German (Germany)
98 - el-GR - Greek (Greece)
244 - en-US - English (United States)
77 - fi-FI - Finnish (Finland)
84 - fr-FR - French (France)
117 - he-IL - Hebrew (Israel)
109 - hu-HU - Hungarian (Hungary)
110 - is-IS - Icelandic (Iceland)
118 - it-IT - Italian (Italy)
122 - ja-JP - Japanese (Japan)
134 - ko-KR - Korean (Korea)
176 - nl-NL - Dutch (Netherlands)
177 - nb-NO - Norwegian, Bokmål (Norway)
191 - pl-PL - Polish (Poland)
32 - pt-BR - Portuguese (Brazil)
200 - ro-RO - Romanian (Romania)
203 - ru-RU - Russian (Russia)
108 - hr-HR - Croatian (Croatia)
143 - sk-SK - Slovak (Slovakia)
6 - sq-AL - Albanian (Albania)
221 - sv-SE - Swedish (Sweden)
227 - th-TH - Thai (Thailand)
235 - tr-TR - Turkish (Turkey)
190 - ur-PK - Urdu (Islamic Republic of Pakistan)
111 - id-ID - Indonesian (Indonesia)
241 - uk-UA - Ukrainian (Ukraine)
29 - be-BY - Belarusian (Belarus)
212 - sl-SI - Slovenian (Slovenia)
70 - et-EE - Estonian (Estonia)
140 - lv-LV - Latvian (Latvia)
141 - lt-LT - Lithuanian (Lithuania)
116 - fa-IR - Persian (Iran)
251 - vi-VN - Vietnamese (Vietnam)
7 - hy-AM - Armenian (Armenia)
5 - az-Latn-AZ - Azeri (Latin, Azerbaijan)
217 - eu-ES - Basque (Basque)
19618 - mk-MK - Macedonian (Former Yugoslav Republic of Macedonia)
209 - af-ZA - Afrikaans (South Africa)
88 - ka-GE - Georgian (Georgia)
81 - fo-FO - Faroese (Faroe Islands)
113 - hi-IN - Hindi (India)
167 - ms-MY - Malay (Malaysia)
137 - kk-KZ - Kazakh (Kazakhstan)
130 - ky-KG - Kyrgyz (Kyrgyzstan)
129 - sw-KE - Kiswahili (Kenya)
247 - uz-Latn-UZ - Uzbek (Latin, Uzbekistan)
203 - tt-RU - Tatar (Russia)
113 - pa-IN - Punjabi (India)
113 - gu-IN - Gujarati (India)
113 - ta-IN - Tamil (India)
113 - te-IN - Telugu (India)
113 - kn-IN - Kannada (India)
113 - mr-IN - Marathi (India)
113 - sa-IN - Sanskrit (India)
154 - mn-MN - Mongolian (Cyrillic, Mongolia)
217 - gl-ES - Galician (Galician)
113 - kok-IN - Konkani (India)
222 - syr-SY - Syriac (Syria)
165 - dv-MV - Divehi (Maldives)
121 - ar-IQ - Arabic (Iraq)
45 - zh-CN - Chinese (People's Republic of China)
223 - de-CH - German (Switzerland)
242 - en-GB - English (United Kingdom)
166 - es-MX - Spanish (Mexico)
21 - fr-BE - French (Belgium)
223 - it-CH - Italian (Switzerland)
21 - nl-BE - Dutch (Belgium)
177 - nn-NO - Norwegian, Nynorsk (Norway)
193 - pt-PT - Portuguese (Portugal)
269 - sr-Latn-CS - Serbian (Latin, Serbia and Montenegro (Former))
77 - sv-FI - Swedish (Finland)
5 - az-Cyrl-AZ - Azeri (Cyrillic, Azerbaijan)
37 - ms-BN - Malay (Brunei Darussalam)
247 - uz-Cyrl-UZ - Uzbek (Cyrillic, Uzbekistan)
67 - ar-EG - Arabic (Egypt)
104 - zh-HK - Chinese (Hong Kong S.A.R.)
14 - de-AT - German (Austria)
12 - en-AU - English (Australia)
217 - es-ES - Spanish (Spain)
39 - fr-CA - French (Canada)
269 - sr-Cyrl-CS - Serbian (Cyrillic, Serbia and Montenegro (Former))
148 - ar-LY - Arabic (Libya)
215 - zh-SG - Chinese (Singapore)
147 - de-LU - German (Luxembourg)
39 - en-CA - English (Canada)
99 - es-GT - Spanish (Guatemala)
223 - fr-CH - French (Switzerland)
4 - ar-DZ - Arabic (Algeria)
151 - zh-MO - Chinese (Macao S.A.R.)
145 - de-LI - German (Liechtenstein)
183 - en-NZ - English (New Zealand)
54 - es-CR - Spanish (Costa Rica)
147 - fr-LU - French (Luxembourg)
159 - ar-MA - Arabic (Morocco)
68 - en-IE - English (Ireland)
192 - es-PA - Spanish (Panama)
158 - fr-MC - French (Principality of Monaco)
234 - ar-TN - Arabic (Tunisia)
209 - en-ZA - English (South Africa)
65 - es-DO - Spanish (Dominican Republic)
164 - ar-OM - Arabic (Oman)
124 - en-JM - English (Jamaica)
249 - es-VE - Spanish (Venezuela)
261 - ar-YE - Arabic (Yemen)
124 - en-029 - English (Caribbean)
51 - es-CO - Spanish (Colombia)
222 - ar-SY - Arabic (Syria)
24 - en-BZ - English (Belize)
187 - es-PE - Spanish (Peru)
126 - ar-JO - Arabic (Jordan)
225 - en-TT - English (Trinidad and Tobago)
11 - es-AR - Spanish (Argentina)
139 - ar-LB - Arabic (Lebanon)
264 - en-ZW - English (Zimbabwe)
66 - es-EC - Spanish (Ecuador)
136 - ar-KW - Arabic (Kuwait)
201 - en-PH - English (Republic of the Philippines)
46 - es-CL - Spanish (Chile)
224 - ar-AE - Arabic (U.A.E.)
246 - es-UY - Spanish (Uruguay)
17 - ar-BH - Arabic (Bahrain)
185 - es-PY - Spanish (Paraguay)
197 - ar-QA - Arabic (Qatar)
26 - es-BO - Spanish (Bolivia)
72 - es-SV - Spanish (El Salvador)
106 - es-HN - Spanish (Honduras)
182 - es-NI - Spanish (Nicaragua)
202 - es-PR - Spanish (Puerto Rico)
73 - am-ET - Amharic (Ethiopia)
4 - tzm-Latn-DZ - Tamazight (Latin) (Algeria)
39 - iu-Latn-CA - Inuktitut (Latin) (Canada)
177 - sma-NO - Sami (Southern) (Norway)
154 - mn-Mong-CN - Mongolian (Traditional Mongolian) (People's Republic of China)
242 - gd-GB - Scottish Gaelic (United Kingdom)
167 - en-MY - English (Malaysia)
3 - prs-AF - Dari (Afghanistan)
23 - bn-BD - Bengali (Bangladesh)
210 - wo-SN - Wolof (Senegal)
204 - rw-RW - Kinyarwanda (Rwanda)
99 - qut-GT - K'iche (Guatemala)
203 - sah-RU - Yakut (Russia)
84 - gsw-FR - Alsatian (France)
84 - co-FR - Corsican (France)
84 - oc-FR - Occitan (France)
183 - mi-NZ - Maori (New Zealand)
68 - ga-IE - Irish (Ireland)
221 - se-SE - Sami (Northern) (Sweden)
84 - br-FR - Breton (France)
77 - smn-FI - Sami (Inari) (Finland)
39 - moh-CA - Mohawk (Canada)
46 - arn-CL - Mapudungun (Chile)
45 - ii-CN - Yi (People's Republic of China)
94 - dsb-DE - Lower Sorbian (Germany)
175 - ig-NG - Igbo (Nigeria)
93 - kl-GL - Greenlandic (Greenland)
147 - lb-LU - Luxembourgish (Luxembourg)
203 - ba-RU - Bashkir (Russia)
209 - nso-ZA - Sesotho sa Leboa (South Africa)
26 - quz-BO - Quechua (Bolivia)
175 - yo-NG - Yoruba (Nigeria)
175 - ha-Latn-NG - Hausa (Latin) (Nigeria)
201 - fil-PH - Filipino (Philippines)
3 - ps-AF - Pashto (Afghanistan)
176 - fy-NL - Frisian (Netherlands)
178 - ne-NP - Nepali (Nepal)
177 - se-NO - Sami (Northern) (Norway)
39 - iu-Cans-CA - Inuktitut (Syllabics) (Canada)
271 - sr-Latn-RS - Serbian (Latin) (Serbia)
42 - si-LK - Sinhala (Sri Lanka)
271 - sr-Cyrl-RS - Serbian (Cyrillic) (Serbia)
138 - lo-LA - Lao (Lao P.D.R.)
40 - km-KH - Khmer (Cambodia)
242 - cy-GB - Welsh (United Kingdom)
45 - bo-CN - Tibetan (People's Republic of China)
77 - sms-FI - Sami (Skolt) (Finland)
113 - as-IN - Assamese (India)
113 - ml-IN - Malayalam (India)
113 - en-IN - English (India)
113 - or-IN - Oriya (India)
113 - bn-IN - Bengali (India)
238 - tk-TM - Turkmen (Turkmenistan)
25 - bs-Latn-BA - Bosnian (Latin) (Bosnia and Herzegovina)
163 - mt-MT - Maltese (Malta)
270 - sr-Cyrl-ME - Serbian (Cyrillic) (Montenegro)
77 - se-FI - Sami (Northern) (Finland)
209 - zu-ZA - isiZulu (South Africa)
209 - xh-ZA - isiXhosa (South Africa)
209 - tn-ZA - Setswana (South Africa)
94 - hsb-DE - Upper Sorbian (Germany)
25 - bs-Cyrl-BA - Bosnian (Cyrillic) (Bosnia and Herzegovina)
228 - tg-Cyrl-TJ - Tajik (Cyrillic) (Tajikistan)
25 - sr-Latn-BA - Serbian (Latin) (Bosnia and Herzegovina)
177 - smj-NO - Sami (Lule) (Norway)
223 - rm-CH - Romansh (Switzerland)
221 - smj-SE - Sami (Lule) (Sweden)
66 - quz-EC - Quechua (Ecuador)
187 - quz-PE - Quechua (Peru)
25 - hr-BA - Croatian (Latin) (Bosnia and Herzegovina)
270 - sr-Latn-ME - Serbian (Latin) (Montenegro)
221 - sma-SE - Sami (Southern) (Sweden)
215 - en-SG - English (Singapore)
45 - ug-CN - Uyghur (People's Republic of China)
25 - sr-Cyrl-BA - Serbian (Cyrillic) (Bosnia and Herzegovina)
244 - es-US - Spanish (United States)

반응형
카카오페이 1,000원 후원하기 (모바일용)