DBMetadata-swing/src/main/java/com/github/abel533/utils/I18n.java
public static void init(Locale locale) {
        if (locale != null) {
            Locale.setDefault(locale);
        }
        if (baseNameList == null || baseNameList.size() == 0) {
            initBaseNameList();
        }
        resourceBundles = new ResourceBundle[baseNameList.size()];
        int i = 0;
        for (String baseName : baseNameList) {
            resourceBundles[i] = ResourceBundle.getBundle(baseName);
            i++;
        }
    }
public static void init(Locale locale) {
        if (locale != null) {
            Locale.setDefault(locale);
        }
        if (baseNameList == null || baseNameList.size() == 0) {
            initBaseNameList();
        }
        resourceBundles = new ResourceBundle[baseNameList.size()];
        int i = 0;
        for (String baseName : baseNameList) {
            resourceBundles[i] = ResourceBundle.getBundle(baseName);
            i++;
        }
    }
初始化 - 可以设置语言

@param locale