插件国际化

1.类必须继承字NLS。
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);
	}

猜你喜欢

转载自liu-yi126.iteye.com/blog/1170898