diff --git a/src/main/java/com/neovisionaries/i18n/LocaleCode.java b/src/main/java/com/neovisionaries/i18n/LocaleCode.java index 7df7c3d..b664606 100644 --- a/src/main/java/com/neovisionaries/i18n/LocaleCode.java +++ b/src/main/java/com/neovisionaries/i18n/LocaleCode.java @@ -932,6 +932,29 @@ public Locale toLocale() */ uk_UA(LanguageCode.uk, CountryCode.UA), + /** + * {@link LanguageCode#uz Uzbekistan}, {@link CountryCode#UZ Uzbekistan} + */ + uz(LanguageCode.uz, CountryCode.UZ), + + /** + * {@link LanguageCode#uz Uzbekistan}, {@link CountryCode#UZ Uzbekistan} + * Uzbek language based on Arabic letters + */ + uz_Arab_UZ(LanguageCode.uz, CountryCode.UZ), + + /** + * {@link LanguageCode#uz Uzbekistan}, {@link CountryCode#UZ Uzbekistan} + * Uzbek language based on Cyrillic letters + */ + uz_Cyrl_UZ(LanguageCode.uz, CountryCode.UZ), + + /** + * {@link LanguageCode#uz Uzbekistan}, {@link CountryCode#UZ Uzbekistan} + * Uzbek language based Latin letters + */ + uz_Latn_UZ(LanguageCode.uz, CountryCode.UZ), + /** * {@link LanguageCode#vi Vietnamese} */ diff --git a/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java b/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java index 4389e6a..212c889 100644 --- a/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java +++ b/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java @@ -438,4 +438,10 @@ public void test46() { assertSame(LocaleCode.ro_MD, getByCode("ro_MD", false)); } + + @Test + public void test47() + { + assertSame(LocaleCode.uz, getByCode("uz", false)); + } }