Merge pull request #353 from chenejac/defaultLanguage
adding English as default language
This commit is contained in:
commit
63567b9c30
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ public class LanguageFilteringUtils {
|
|||
Locale locale = (Locale) locales.nextElement();
|
||||
langs.add(locale.toString().replace(UNDERSCORE, HYPHEN));
|
||||
}
|
||||
if (langs.isEmpty()) {
|
||||
if (!langs.contains(DEFAULT_LANG_STRING)) {
|
||||
langs.add(DEFAULT_LANG_STRING);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue