[Bug #870] NavalPlan appears in English if browser is configured with es-es
FEA: ItEr70S04BugFixing
This commit is contained in:
parent
de1d37ee61
commit
0cc3a2a87f
1 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,8 @@ public class I18nHelper {
|
|||
org.xnap.commons.i18n.I18nFactory.FALLBACK);
|
||||
|
||||
// The language returned is not the same as the requested by the user
|
||||
if (!locale.equals(i18n.getResources().getLocale())) {
|
||||
if (!locale.getLanguage().equals(
|
||||
i18n.getResources().getLocale().getLanguage())) {
|
||||
// Force it to be default language
|
||||
i18n = getDefaultI18n();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue