final Locale locale = new Locale("pt", "PT");
final String language = PropertiesManager.getProperty("language"); final String location = PropertiesManager.getProperty("location"); final String variante = PropertiesManager.getProperty("variante"); final Locale locale = new Locale(language, location, variante);
    public static void setDefaultLocale(final HttpServletRequest request, HttpSession httpSession) {        final Locale locale = new Locale("pt", "PT");        httpSession.setAttribute(Globals.LOCALE_KEY, locale);        request.removeAttribute(Globals.LOCALE_KEY);        request.setAttribute(Globals.LOCALE_KEY, locale);                LanguageUtils.setLocale(locale);    }