What is the best practice to switch the language of a running java program
开发者_运维技巧How can I switch between languages in a running Java program? How can I change all text / labels in the GUI without much effort.
Study: http://java.sun.com/developer/technicalArticles/Intl/ResourceBundles/
Making your application support localization is not an effortless procedure. It requires upfront thought and design. But after that you can add languages very easily.
You need to check up on resource bundles and locales.
精彩评论