Java Locale List

Here is a complete list of Locales in Java. This list is compiled using the mighty java.text.SimpleDateFormat class.

The class SimpleDateFormat provides a method getAvailableLocales() which gives array of java.util.Locale objects. This is java locale list. We can iterate over this list and get all relevant information about these locales.

By the way, the above tag cloud image is generated using all java locales. If you interested here’s how to generate your own tag cloud: Generate Tag Cloud

Getting Locales List in Java

Following java program will print the list of all locales.

import java.text.SimpleDateFormat; import java.util.Locale; public class Java_Locale_List { public static void main(String[] args) { //returns array of all locales Locale locales[] = SimpleDateFormat.getAvailableLocales(); //iterate through each locale and print // locale code, display name and country for (int i = 0; i < locales.length; i++) { System.out.printf("%10s - %s, %s \n" , locales[i].toString(), locales[i].getDisplayName(), locales[i].getDisplayCountry()); } } }
Code language: Java (java)

Below is the java local list in tabular format for your reference.

Java Locale List

Sr.LocaleLanguageCountry
1ms_MYMalay (Malaysia)Malaysia
2ar_QAArabic (Qatar)Qatar
3is_ISIcelandic (Iceland)Iceland
4fi_FIFinnish (Finland)Finland
5plPolish
6en_MTEnglish (Malta)Malta
7it_CHItalian (Switzerland)Switzerland
8nl_BEDutch (Belgium)Belgium
9ar_SAArabic (Saudi Arabia)Saudi Arabia
10ar_IQArabic (Iraq)Iraq
11es_PRSpanish (Puerto Rico)Puerto Rico
12es_CLSpanish (Chile)Chile
13fiFinnish
14de_ATGerman (Austria)Austria
15daDanish
16en_GBEnglish (United Kingdom)United Kingdom
17es_PASpanish (Panama)Panama
18srSerbian
19ar_YEArabic (Yemen)Yemen
20mk_MKMacedonian (Macedonia)Macedonia
21mkMacedonian
22en_CAEnglish (Canada)Canada
23vi_VNVietnamese (Vietnam)Vietnam
24nl_NLDutch (Netherlands)Netherlands
25es_USSpanish (United States)United States
26zh_CNChinese (China)China
27es_HNSpanish (Honduras)Honduras
28en_USEnglish (United States)United States
29frFrench
30thThai
31arArabic
32ar_MAArabic (Morocco)Morocco
33lvLatvian
34deGerman
35in_IDIndonesian (Indonesia)Indonesia
36hrCroatian
37en_ZAEnglish (South Africa)South Africa
38ko_KRKorean (South Korea)South Korea
39ar_TNArabic (Tunisia)Tunisia
40inIndonesian
41jaJapanese
42sr_RSSerbian (Serbia)Serbia
43be_BYBelarusian (Belarus)Belarus
44zh_TWChinese (Taiwan)Taiwan
45ar_SDArabic (Sudan)Sudan
46ptPortuguese
47isIcelandic
48ja_JP_JP_#u-ca-japaneseJapanese (Japan,JP)Japan
49es_BOSpanish (Bolivia)Bolivia
50ar_DZArabic (Algeria)Algeria
51msMalay
52es_ARSpanish (Argentina)Argentina
53ar_AEArabic (United Arab Emirates)United Arab Emirates
54fr_CAFrench (Canada)Canada
55slSlovenian
56esSpanish
57lt_LTLithuanian (Lithuania)Lithuania
58sr_ME_#LatnSerbian (Latin,Montenegro)Montenegro
59ar_SYArabic (Syria)Syria
60ru_RURussian (Russia)Russia
61fr_BEFrench (Belgium)Belgium
62es_ESSpanish (Spain)Spain
63bgBulgarian
64iw_ILHebrew (Israel)Israel
65svSwedish
66enEnglish
67iwHebrew
68da_DKDanish (Denmark)Denmark
69es_CRSpanish (Costa Rica)Costa Rica
70zh_HKChinese (Hong Kong)Hong Kong
71zhChinese
72ca_ESCatalan (Spain)Spain
73th_THThai (Thailand)Thailand
74uk_UAUkrainian (Ukraine)Ukraine
75es_DOSpanish (Dominican Republic)Dominican Republic
76es_VESpanish (Venezuela)Venezuela
77pl_PLPolish (Poland)Poland
78ar_LYArabic (Libya)Libya
79ar_JOArabic (Jordan)Jordan
80itItalian
81ukUkrainian
82hu_HUHungarian (Hungary)Hungary
83gaIrish
84es_GTSpanish (Guatemala)Guatemala
85es_PYSpanish (Paraguay)Paraguay
86bg_BGBulgarian (Bulgaria)Bulgaria
87hr_HRCroatian (Croatia)Croatia
88sr_BA_#LatnSerbian (Latin,Bosnia and Herzegovina)Bosnia and Herzegovina
89ro_RORomanian (Romania)Romania
90fr_LUFrench (Luxembourg)Luxembourg
91noNorwegian
92ltLithuanian
93en_SGEnglish (Singapore)Singapore
94es_ECSpanish (Ecuador)Ecuador
95sr_BASerbian (Bosnia and Herzegovina)Bosnia and Herzegovina
96es_NISpanish (Nicaragua)Nicaragua
97skSlovak
98ruRussian
99mtMaltese
100es_SVSpanish (El Salvador)El Salvador
101nlDutch
102hi_INHindi (India)India
103etEstonian
104el_GRGreek (Greece)Greece
105sl_SISlovenian (Slovenia)Slovenia
106it_ITItalian (Italy)Italy
107ja_JPJapanese (Japan)Japan
108de_LUGerman (Luxembourg)Luxembourg
109fr_CHFrench (Switzerland)Switzerland
110mt_MTMaltese (Malta)Malta
111ar_BHArabic (Bahrain)Bahrain
112sqAlbanian
113viVietnamese
114sr_MESerbian (Montenegro)Montenegro
115pt_BRPortuguese (Brazil)Brazil
116no_NONorwegian (Norway)Norway
117elGreek
118de_CHGerman (Switzerland)Switzerland
119zh_SGChinese (Singapore)Singapore
120ar_KWArabic (Kuwait)Kuwait
121ar_EGArabic (Egypt)Egypt
122ga_IEIrish (Ireland)Ireland
123es_PESpanish (Peru)Peru
124cs_CZCzech (Czech Republic)Czech Republic
125tr_TRTurkish (Turkey)Turkey
126csCzech
127es_UYSpanish (Uruguay)Uruguay
128en_IEEnglish (Ireland)Ireland
129en_INEnglish (India)India
130ar_OMArabic (Oman)Oman
131sr_CSSerbian (Serbia and Montenegro)Serbia and Montenegro
132caCatalan
133beBelarusian
134sr__#LatnSerbian (Latin)
135koKorean
136sq_ALAlbanian (Albania)Albania
137pt_PTPortuguese (Portugal)Portugal
138lv_LVLatvian (Latvia)Latvia
139sr_RS_#LatnSerbian (Latin,Serbia)Serbia
140sk_SKSlovak (Slovakia)Slovakia
141es_MXSpanish (Mexico)Mexico
142en_AUEnglish (Australia)Australia
143no_NO_NYNorwegian (Norway,Nynorsk)Norway
144en_NZEnglish (New Zealand)New Zealand
145sv_SESwedish (Sweden)Sweden
146roRomanian
147ar_LBArabic (Lebanon)Lebanon
148de_DEGerman (Germany)Germany
149th_TH_TH_#u-nu-thaiThai (Thailand,TH)Thailand
150trTurkish
151es_COSpanish (Colombia)Colombia
152en_PHEnglish (Philippines)Philippines
153et_EEEstonian (Estonia)Estonia
154el_CYGreek (Cyprus)Cyprus
155huHungarian
156fr_FRFrench (France)France

View Comments

Recent Posts

  • Java

Java URL Encoder/Decoder Example

Java URL Encoder/Decoder Example - In this tutorial we will see how to URL encode/decode…

4 years ago
  • General

How to Show Multiple Examples in OpenAPI Spec

Show Multiple Examples in OpenAPI - OpenAPI (aka Swagger) Specifications has become a defecto standard…

4 years ago
  • General

How to Run Local WordPress using Docker

Local WordPress using Docker - Running a local WordPress development environment is crucial for testing…

5 years ago
  • Java

Create and Validate JWT Token in Java using JJWT

1. JWT Token Overview JSON Web Token (JWT) is an open standard defines a compact…

5 years ago
  • Spring Boot

Spring Boot GraphQL Subscription Realtime API

GraphQL Subscription provides a great way of building real-time API. In this tutorial we will…

5 years ago
  • Spring Boot

Spring Boot DynamoDB Integration Test using Testcontainers

1. Overview Spring Boot Webflux DynamoDB Integration tests - In this tutorial we will see…

5 years ago