This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

This topic contains 1 reply, has 2 voices, and was last updated by  Bruno 2 years, 12 months ago. The support staff assigned to this topic is Bruno.

Author Posts
Author Posts
April 3, 2014 at 4:54 pm #373476

Michael J

For the most part it seems to be using the ISO-3166 standard except for UK (instead of the standard GB). Is there a list somewhere in the plugin's code with the default country codes that I can look at? These are added to the default languages locales visible in the Edit Languages page. For example CN, TW, DK, NL .

April 3, 2014 at 10:44 pm #373616

Bruno
Forum moderator

Supporter languages: English (English ) Portuguese (Brazil) (Português )

Supporter Timezone: America/Sao_Paulo (GMT-03:00)

Dear Michael,

Within the file "sitepress-multilingual-cms/inc/lang-data.php", the list is this:

Afar                  => aa
Abkhazian             => ab
Avestan               => ae
Afrikaans             => af
Akan                  => ak
Amharic               => am
Arabic                => ar
Assamese              => as
Avar                  => av
Aymara                => ay
Azerbaijani           => az
Bashkir               => ba
Belarusian            => be
Bulgarian             => bg
Bihari                => bh
Bislama               => bi
Bambara               => bm
Bengali               => bn
Tibetan               => bo
Breton                => br
Bosnian               => bs
Catalan               => ca
Chechen               => ce
Chamorro              => ch
Corsican              => co
Cree                  => cr
Czech                 => cs
Old Slavonic          => cu
Chuvash               => cv
Welsh                 => cy
Danish                => da
German                => de
Maldivian             => dv
Bhutani               => dz
Ewe                   => ee
Greek                 => el
English               => en
Esperanto             => eo
Spanish               => es
Estonian              => et
Basque                => eu
Persian               => fa
Fulah                 => ff
Finnish               => fi
Fiji                  => fj
Faeroese              => fo
French                => fr
Frisian               => fy
Irish                 => ga
Scots Gaelic          => gd
Galician              => gl
Guarani               => gn
Gujarati              => gu
Manx                  => gv
Hausa                 => ha
Hebrew                => he
Hindi                 => hi
Hiri Motu             => ho
Croatian              => hr
Hungarian             => hu
Armenian              => hy
Herero                => hz
Interlingua           => ia
Indonesian            => id
Interlingue           => ie
Igbo                  => ig
Inupiak               => ik
Icelandic             => is
Italian               => it
Inuktitut             => iu
Japanese              => ja
Javanese              => jv
Georgian              => ka
Kongo                 => kg
Kikuyu                => ki
Kwanyama              => kj
Kazakh                => kk
Greenlandic           => kl
Cambodian             => km
Kannada               => kn
Korean                => ko
Kanuri                => kr
Kashmiri              => ks
Kurdish               => ku
Komi                  => kv
Cornish               => kw
Kirghiz               => ky
Latin                 => la
Luxembourgish         => lb
Luganda               => lg
Lingala               => ln
Laothian              => lo
Lithuanian            => lt
Latvian               => lv
Malagasy              => mg
Marshallese           => mh
Maori                 => mi
Macedonian            => mk
Malayalam             => ml
Mongolian             => mn
Moldavian             => mo
Marathi               => mr
Malay                 => ms
Maltese               => mt
Burmese               => my
Nauru                 => na
North Ndebele         => nd
Nepali                => ne
Ndonga                => ng
Dutch                 => nl
Norwegian Bokmål      => nb
Norwegian Nynorsk     => nn
South Ndebele         => nr
Navajo                => nv
Chichewa              => ny
Occitan               => oc
Oromo                 => om
Oriya                 => or
Ossetian              => os
Punjabi               => pa
Pali                  => pi
Polish                => pl
Pashto                => ps
Portuguese, Portugal  => pt-pt
Portuguese, Brazil    => pt-br
Quechua               => qu
Rhaeto-Romance        => rm
Kirundi               => rn
Romanian              => ro
Russian               => ru
Kinyarwanda           => rw
Sanskrit              => sa
Sardinian             => sc
Sindhi                => sd
Northern Sami         => se
Sango                 => sg
Serbo-Croatian        => sh
Singhalese            => si
Slovak                => sk
Slovenian             => sl
Samoan                => sm
Shona                 => sn
Somali                => so
Albanian              => sq
Serbian               => sr
Siswati               => ss
Sesotho               => st
Sudanese              => su
Swedish               => sv
Swahili               => sw
Tamil                 => ta
Telugu                => te
Tajik                 => tg
Thai                  => th
Tigrinya              => ti
Turkmen               => tk
Tagalog               => tl
Setswana              => tn
Tonga                 => to
Turkish               => tr
Tsonga                => ts
Tatar                 => tt
Twi                   => tw
Tahitian              => ty
Uighur                => ug
Ukrainian             => uk
Urdu                  => ur
Uzbek                 => uz
Venda                 => ve
Vietnamese            => vi
Wolof                 => wo
Xhosa                 => xh
Yiddish               => yi
Yoruba                => yo
Zhuang                => za
Chinese (Simplified)  => zh-hans
Chinese (Traditional) => zh-hant
Zulu                  => zu
Slavic                => sla
Malay                 => ms

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

Thank you.

The topic ‘[Closed] What country codes are used by WPML by default?’ is closed to new replies.