J'aimerais savoir comment nommer mon dossier pour différentes langues. Où puis-je trouver la liste des langues prises en charge sur Android?
Réponses
Trop de publicités?Voici la liste ( Source )
Language / Locale Supported since version English, US (en_US) 1.1 German, Germany (de_DE) 1.1 Chinese, PRC (zh_CN) 1.5 Chinese, Taiwan (zh_TW) 1.5 Czech, Czech Republic (cs_CZ) 1.5 Dutch, Belgium (nl_BE) 1.5 Dutch, Netherlands (nl_NL) 1.5 English, Australia (en_AU) 1.5 English, Britain (en_GB) 1.5 English, Canada (en_CA) 1.5 English, New Zealand (en_NZ) 1.5 English, Singapore(en_SG) 1.5 French, Belgium (fr_BE) 1.5 French, Canada (fr_CA) 1.5 French, France (fr_FR) 1.5 French, Switzerland (fr_CH) 1.5 German, Austria (de_AT) 1.5 German, Liechtenstein (de_LI) 1.5 German, Switzerland (de_CH) 1.5 Italian, Italy (it_IT) 1.5 Italian, Switzerland (it_CH) 1.5 Japanese (ja_JP) 1.5 Korean (ko_KR) 1.5 Polish (pl_PL) 1.5 Russian (ru_RU) 1.5 Spanish (es_ES) 1.5 Arabic, Egypt (ar_EG) 2.3 Arabic, Israel (ar_IL) 2.3 Bulgarian, Bulgaria (bg_BG) 2.3 Catalan, Spain (ca_ES) 2.3 Croatian, Croatia (hr_HR) 2.3 Danish, Denmark(da_DK) 2.3 English, India (en_IN) 2.3 English, Ireland (en_IE) 2.3 English, Zimbabwe (en_ZA) 2.3 Finnish, Finland (fi_FI) 2.3 Greek, Greece (el_GR) 2.3 Hebrew, Israel (iw_IL)* 2.3 Hindi, India (hi_IN) 2.3 Hungarian, Hungary (hu_HU) 2.3 Indonesian, Indonesia (in_ID)* 2.3 Latvian, Latvia (lv_LV) 2.3 Lithuanian, Lithuania (lt_LT) 2.3 Norwegian-Bokmol, Norway(nb_NO) 2.3 Portuguese, Brazil (pt_BR) 2.3 Portuguese, Portugal (pt_PT) 2.3 Romanian, Romania (ro_RO) 2.3 Serbian (sr_RS) 2.3 Slovak, Slovakia (sk_SK) 2.3 Slovenian, Slovenia (sl_SI) 2.3 Spanish, US (es_US) 2.3 Swedish, Sweden (sv_SE) 2.3 Tagalog, Philippines (tl_PH) 2.3 Thai, Thailand (th_TH) 2.3 Turkish, Turkey (tr_TR) 2.3 Ukrainian, Ukraine (uk_UA) 2.3 Vietnamese, Vietnam (vi_VN) 2.3
Mise à jour pour 4.0
Plate-forme Android 4.0.3
Arabic, Egypt (ar_EG)
Arabic, Israel (ar_IL)
Bulgarian, Bulgaria (bg_BG)
Catalan, Spain (ca_ES)
Czech, Czech Republic (cs_CZ)
Danish, Denmark(da_DK)
German, Austria (de_AT)
German, Switzerland (de_CH)
German, Germany (de_DE)
German, Liechtenstein (de_LI)
Greek, Greece (el_GR)
English, Australia (en_AU)
English, Canada (en_CA)
English, Britain (en_GB)
English, Ireland (en_IE)
English, India (en_IN)
English, New Zealand (en_NZ)
English, Singapore(en_SG)
English, US (en_US)
English, South Africa (en_ZA)
Spanish (es_ES)
Spanish, US (es_US)
Finnish, Finland (fi_FI)
French, Belgium (fr_BE)
French, Canada (fr_CA)
French, Switzerland (fr_CH)
French, France (fr_FR)
Hebrew, Israel (he_IL)
Hindi, India (hi_IN)
Croatian, Croatia (hr_HR)
Hungarian, Hungary (hu_HU)
Indonesian, Indonesia (id_ID)
Italian, Switzerland (it_CH)
Italian, Italy (it_IT)
Japanese (ja_JP)
Korean (ko_KR)
Lithuanian, Lithuania (lt_LT)
Latvian, Latvia (lv_LV)
Norwegian bokmål, Norway (nb_NO)
Dutch, Belgium (nl_BE)
Dutch, Netherlands (nl_NL)
Polish (pl_PL)
Portuguese, Brazil (pt_BR)
Portuguese, Portugal (pt_PT)
Romanian, Romania (ro_RO)
Russian (ru_RU)
Slovak, Slovakia (sk_SK)
Slovenian, Slovenia (sl_SI)
Serbian (sr_RS)
Swedish, Sweden (sv_SE)
Thai, Thailand (th_TH)
Tagalog, Philippines (tl_PH)
Turkish, Turkey (tr_TR)
Ukrainian, Ukraine (uk_UA)
Vietnamese, Vietnam (vi_VN)
Chinese, PRC (zh_CN)
Chinese, Taiwan (zh_TW)
SOURCE: http://us.dinodirect.com/Forum/Latest-Posts-5/Android-Versions-and-their-Locales-1-86587/
http://developer.android.com/reference/java/util/Locale.html
Voir la CLDR pour des langues spécifiques de soutien.
Ex : CLDR 1.8 à 2.3
http://cldr.unicode.org/index/downloads/cldr-1-8
Langues: Loin [Qafar]; Afrikaans; Akan; albanais [shqipe]; Amharique [አማርኛ]; arabe [arabes]; arménienne [Հայերէն]; Assamais [অসমীয়া]; Uss [Kipare]; Atsam [ccs]; langue (l'arabe) [azərbaycanca (ərəb)]; azerbaïdjan (Cyrillique) [Азәрбајҹан (cyrille)]; azerbaïdjan (Latin) [azərbaycanca (latın)]; Bambara [bamanakan]; Basque [euskara]; Biélorusse [беларуская]; Bemba [Ichibemba]; Bena [Hibena]; Bengali [বাংলা]; Blin [ብሊን]; Bosniaque [Bosanski]; Breton [br]; bulgare [български]; Birman [ဗမာ]; Catalan [catalan]; le Tamazight du Maroc Central (Latin) [Tamaziɣt (Latn)]; Cherokee [ᏣᎳᎩ]; Chiga [Rukiga]; Colognian [ksh]; Cornish [kernewek]; croate [hrvatski]; tchèque [čeština]; le danois [dansk]; Divehi [ދިވެހިބަސް]; néerlandais [Nederlands]; Dzongkha [རྫོང་ཁ]; Embu [Kĩembu]; anglais (Deseret) [
Nous devons d'abord planifier comment l'application va rendre différemment dans différents locaux. Ici, il montre un exemple, où la chaîne de texte et les images doivent aller.
de-rDE German / Germany res/values-de/ res/drawable-de-rDE/
fr-rFR French / France res/values-fr/ res/drawable-fr-rFR/
fr-rCA French / Canada res/values-fr/ res/drawable-fr-rCA/
en-rCA English / Canada (res/values/) res/drawable-en-rCA/
ja-rJP Japanese / Japan res/values-ja/ res/drawable-ja-rJP/
en-rUS English / United States (res/values/) res/drawable-en-rUS/
Pour plus d'informations, vous pouvez voir la page Localisation