jetbrick-commons/src/main/java/jetbrick/lang/LocaleUtils.java
public static String resolveLocaleCode(final Locale locale) {
        return resolveLocaleCode(locale.getLanguage(), locale.getCountry(), locale.getVariant());
    }
public static String resolveLocaleCode(final Locale locale) {
        return resolveLocaleCode(locale.getLanguage(), locale.getCountry(), locale.getVariant());
    }
Resolves locale code from locale.