diff --git a/src/main/java/com/neovisionaries/i18n/LocaleCode.java b/src/main/java/com/neovisionaries/i18n/LocaleCode.java index 7df7c3d..69f5836 100644 --- a/src/main/java/com/neovisionaries/i18n/LocaleCode.java +++ b/src/main/java/com/neovisionaries/i18n/LocaleCode.java @@ -932,6 +932,11 @@ public Locale toLocale() */ uk_UA(LanguageCode.uk, CountryCode.UA), + /** + * {@link LanguageCode#ur Urdu}, {@link CountryCode#PK Pakistan} + */ + ur_PK(LanguageCode.ur, CountryCode.PK), + /** * {@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..11359c8 100644 --- a/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java +++ b/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java @@ -438,4 +438,11 @@ public void test46() { assertSame(LocaleCode.ro_MD, getByCode("ro_MD", false)); } + + + @Test + public void test47() + { + assertSame(LocaleCode.ur_PK, getByCode("ur_PK", false)); + } }