diff --git a/src/main/java/com/force/i18n/DefaultHumanLanguageImpl.java b/src/main/java/com/force/i18n/DefaultHumanLanguageImpl.java index 6896f55..452c9a0 100644 --- a/src/main/java/com/force/i18n/DefaultHumanLanguageImpl.java +++ b/src/main/java/com/force/i18n/DefaultHumanLanguageImpl.java @@ -121,7 +121,10 @@ enum DefaultHumanLanguageImpl implements HumanLanguage { YIDDISH(new Locale("ji"), LanguageType.PLATFORM, "yi", 236.0), // Java screwup with iso code. HMONG(new Locale("hmn"), LanguageType.PLATFORM, 238.0), - + CHUJ(new Locale("cac"), LanguageType.PLATFORM, 248.0), //Chuj + KICHE(new Locale("quc"), LanguageType.PLATFORM, 248.0), //Kiche + KAQCHIKEL(new Locale("cak"), LanguageType.PLATFORM, 248.0), //Kaqchikel + // Sample use of variants for testing ARABIC_DZ(new Locale("ar", "DZ"), LanguageType.PLATFORM, 194.0), //Arabic Algerian ENGLISH_AU(new Locale("en", "AU"), LanguageType.PLATFORM, 168.0), diff --git a/src/main/java/com/force/i18n/LanguageConstants.java b/src/main/java/com/force/i18n/LanguageConstants.java index 8b2cc23..b346a6a 100644 --- a/src/main/java/com/force/i18n/LanguageConstants.java +++ b/src/main/java/com/force/i18n/LanguageConstants.java @@ -134,6 +134,9 @@ public final class LanguageConstants { public static final String CHINESE_SG = "zh_SG"; //Chinese (Simplified) Singapore public static final String CHINESE_MY = "zh_MY"; //Chinese (Simplified) Malaysia public static final String CHINESE_HK = "zh_HK"; //Chinese (Traditional) Hong Kong + public static final String CHUJ = "cac"; //Chuj + public static final String KICHE = "quc"; //Kiche + public static final String KAQCHIKEL = "cak"; //Kaqchikel public static final String ENGLISH_HK = "en_HK"; //English Hong Kong public static final String ENGLISH_IE = "en_IE"; //English Ireland public static final String ENGLISH_SG = "en_SG"; //English Singapore diff --git a/src/main/java/com/force/i18n/grammar/impl/LanguageDeclensionFactory.java b/src/main/java/com/force/i18n/grammar/impl/LanguageDeclensionFactory.java index c430805..b5c5461 100644 --- a/src/main/java/com/force/i18n/grammar/impl/LanguageDeclensionFactory.java +++ b/src/main/java/com/force/i18n/grammar/impl/LanguageDeclensionFactory.java @@ -270,6 +270,12 @@ private LanguageDeclension createDeclension(HumanLanguage language) { return new UnsupportedLanguageDeclension.HaitianCreoleDeclension(language); case GREENLANDIC: return new UnsupportedLanguageDeclension.GreenlandicDeclension(language); + case CHUJ: + return new SimpleDeclension(language); + case KICHE: + return new SimpleDeclension(language); + case KAQCHIKEL: + return new SimpleDeclension(language); } if (FAIL_ON_MISSING) { diff --git a/src/main/resources/com/force/i18n/grammar/public_i18n.xml b/src/main/resources/com/force/i18n/grammar/public_i18n.xml index a311f2d..b04d8c1 100644 --- a/src/main/resources/com/force/i18n/grammar/public_i18n.xml +++ b/src/main/resources/com/force/i18n/grammar/public_i18n.xml @@ -97,7 +97,9 @@ Kreyòl ayisyen יידיש Hmoob - + Chuj + Kʼicheʼ + Kaqchikel (العربية (الجزائر (العربية (‏البحرين (العربية (مصر