List of Country Locale Codes

This is a simple table output of all country locale codes with quick search. You can find your country and locale here.
If the locale code is not mentioned here, you can create it for your case following the instructions.

How to construct your country locale code

Let’s see the Arabic (Egypt) – ar_EG locale code. First is the language code ar followed by the country code EG. Lets imagine that you are speaking greek and you are living in Cyprus your language code will be el  and your country code will be CY and the full local code will looks like el_CY.

List of Locale Codes

My language code is missing

I can provide you with 2 solutions:

  • Slower way: You can write a comment below, and I’ll try to find your missing language and add it to the table. Just describe your country and language.
  • Faster way: Visit this website: https://iso639-3.sil.org/code_tables/639/data/all. Find your language and construct “langcode_COUNTRYCODE”
Share: Facebook, Twitter, Google Plus

Comments:

saimana
May 4, 2021

Hi there, if you couldn't find the locale code you are searching, write me a comment to add it. Thanks.

Yassine
June 6, 2021

Français svp

saimana
October 10, 2021

French is the list Yassine.

Bumbum Guloso
September 16, 2022

I dont know the Locale of Esperanto

saimana
September 23, 2022

Table was updated with a lot of country locales, also with Esperanto locale code.

Jamshid
September 22, 2023

I live in Uzbekistan. Is there a local code of Uzbekistan?

saimana
September 22, 2023

Hi, Jamshid. Thank you for your question. I've added the Uzbeki language locale code to the table.

November 5, 2023

I couldn't find the Afghanistan locale code!

saimana
November 5, 2023

Hi Amanullah, I've added Persian, Pashto, and Uzbek. If you have other written language there you can share, and I'll try to find and add it.

July 3, 2024

Please add locale for nepali language

saimana
July 3, 2024

Hi Sanjay, thank you for the suggestion. I've added to the table: Nepali (Nepal) - ne_NP.

Jowin
July 12, 2024

mal_IN ml_IN Malayalam INDIA

saimana
July 12, 2024

Hi Jowin, I've added ml_IN. Thanks for the suggestion. I have added several Indian languages, but this one I've missed.

coper
July 24, 2024

hi! please check indonesia. other sources says that it should be "id-id" not "in-id"

saimana
July 26, 2024

You're right. Thank for the suggestion, I'll update the table. According to Wikipedia, the in code is deprecated. The correct one is: id_ID. You can see here in ISO 639 standard.

August 12, 2024

Montenegrin 'cnr' is missing

saimana
August 14, 2024

Hi HB9HIL, You're right, cnr is not in the list. The present table use 2 symbols to create language codes for the spoken language in the particular country. But if you want to use in a website to translate to one of the Montenegrin languages you should use one of this: bs-ME (bosnian), hr-ME (croatian), sq-ME (albanian), sr-ME (serbian).

Elham
August 31, 2024

Dear: Since the Language Persian abbreviation needs to be corrected to Pe, then the locale code should be Pe-IR. How could I ask developers to use Pe-IR instead of fa-IR. In other Persian speaking countries, this should also be corrected.

saimana
September 11, 2024

Hi Elham, I couldn't confirm your suggestion in any documentation. According to the standard ISO 639-1 which is the alpha-2 code. The language code is fa and country code for Iran is IR

Abdii jibriil
September 10, 2024

My locale

saimana
September 11, 2024

HI Abdii, If you couldn't find the proper locale code for you in the table above, you should share information about your spoken language and country to able to create the proper locale code.

Kees
October 9, 2024

There are two entries for en_US.

saimana
October 30, 2024

Hi, Kees. Duplicate removed. Thank you.

Zenya
October 28, 2024

Language: Tamil Lang code: ta Locale: IN, SL, SG and MY

saimana
October 30, 2024

Hey Zenya, thank you for the suggestion. I've added the language code and the locales you suggested and some more: ta_ID, ta_IN, ta_MY, ta_MM, ta_MU, ta_PH, ta_SL, ta_SG and ta_TH. The Tamil languages is spoken in many countries.

Leave a Comment:

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.