diff --git a/src/main/java/com/neovisionaries/i18n/LocaleCode.java b/src/main/java/com/neovisionaries/i18n/LocaleCode.java index 7df7c3d..5a19ac0 100644 --- a/src/main/java/com/neovisionaries/i18n/LocaleCode.java +++ b/src/main/java/com/neovisionaries/i18n/LocaleCode.java @@ -196,6 +196,11 @@ public Locale toLocale() */ bg_BG(LanguageCode.bg, CountryCode.BG), + /** + * {@link LanguageCode#bs Bosnian}, {@link CountryCode#BA Bosnia and Herzegovina} + */ + bs_BA(LanguageCode.bs, CountryCode.BA), + /** * {@link LanguageCode#ca Catalan} */ diff --git a/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java b/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java index 4389e6a..5f03fbf 100644 --- a/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java +++ b/src/test/java/com/neovisionaries/i18n/LocaleCodeTest.java @@ -438,4 +438,12 @@ public void test46() { assertSame(LocaleCode.ro_MD, getByCode("ro_MD", false)); } + + + @Test + public void test47() + { + assertSame(LocaleCode.bs_BA, getByCode("bs_BA", false)); + } + }