return this.getLocale().getLanguage().toLowerCase();
}
@Override
public void setLanguage (final String language) {
// Log trace message
return this.getLocale().getLanguage().toLowerCase();
}
@Override
public void setLanguage (final String language) {
// Log trace message
}
// Get new locale with upper-case country code
Locale loc = new Locale(splits[0], splits[1]);
// Log debug message
}
// Get new locale with upper-case country code
Locale loc = new Locale(splits[0], splits[1]);
// Log debug message
// Set it here and in the JSF context
this.setLocale(loc);
FacesContext.getCurrentInstance().getViewRoot().setLocale(loc);
// Log trace message
// Set it here and in the JSF context
this.setLocale(loc);
FacesContext.getCurrentInstance().getViewRoot().setLocale(loc);
// Log trace message
// Create locale instance from context
Locale loc = FacesContext.getCurrentInstance().getExternalContext().getRequestLocale();
// Log debug message
// Create locale instance from context
Locale loc = FacesContext.getCurrentInstance().getExternalContext().getRequestLocale();
// Log debug message