Now zh_HK, zh_MO are redirected to zh_TW
This commit is contained in:
@@ -45,7 +45,7 @@ public final class Localization {
|
||||
if (is == null)
|
||||
is = getStream("_" + locale.getLanguage());
|
||||
if (is == null)
|
||||
is = getStream("_en");
|
||||
is = getStream("");
|
||||
if (is == null)
|
||||
throw new InternalError("Language file missing");
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.util.Locale;
|
||||
* @author huangyuhui
|
||||
*/
|
||||
public enum SupportedLocales {
|
||||
def(Locale.getDefault(), "lang.default"), en(Locale.ENGLISH, null), zh_TW(Locale.TRADITIONAL_CHINESE, null), zh_CN(Locale.SIMPLIFIED_CHINESE, null), vi(new Locale("vi"), null);
|
||||
def(Locale.getDefault(), "lang.default"), en(Locale.ENGLISH, null), zh(Locale.TRADITIONAL_CHINESE, null), zh_CN(Locale.SIMPLIFIED_CHINESE, null), vi(new Locale("vi"), null);
|
||||
|
||||
public Locale self;
|
||||
private String showString, customized;
|
||||
|
||||
Reference in New Issue
Block a user