GWT的国际化需要做到以下几点:
1.使用GWT初始化Constants
final MCenterConstants constants = (MCenterConstants) GWT.create(MCenterConstants.class);
2.改变URL加入locale
public void onClick(Widget sender) {
Window.open(GWT.getHostPageBaseURL() + "?locale=" + "en", "_self", "");
}