1.类必须继承字NLS。
2.定义国际化properties文件:
3.定义常量:
4.初始化国际化
2.定义国际化properties文件:
public static final String BUNDLE_NAME = "com.demo.message";
3.定义常量:
public static String Start_Fig_Use_Eerror;
4.初始化国际化
static {
initializeMessages(BUNDLE_NAME, BizMessages.class);
}