What is the best way to implement GWT Server Side Internationalization?
-
Use native Java properties files (not sure how to read and how to locate the right language file) (unicode string need to be ASCII encoded)
-
Use GWTI18N.java – GWT module which gives you seamless use of GWT I18N on both the client and the server and uses "java.lang.reflect.Proxy method"
-
Use Kotori I18N – …
-
Other ideas?
How can I find and pass localization from client to sever?
On the server side I have an Servlet which still doesn't use any GWT dependant source, is it better not to do so?
Best Answer
I found this solution and it looks very good
gwt-i18n-server - Provides a simple support of gwt i18n feature on the server side
Client current locale can be found this way: