Fix Locale.ROOT case.
This commit is contained in:
parent
4061a55e2d
commit
eb6d24d913
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ public class TranslatorPresenter implements Presenter
|
|||
|
||||
//
|
||||
String language;
|
||||
if (locale == null)
|
||||
if ((locale == null) || (locale.getLanguage().length() == 0))
|
||||
{
|
||||
language = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue