tomkpunkt
tomkpunkt

Reputation: 1403

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.

Upvotes: 2

Views: 244

Answers (2)

duffymo
duffymo

Reputation: 308783

You need to check up on resource bundles and locales.

Upvotes: 0

cherouvim
cherouvim

Reputation: 31903

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.

Upvotes: 2

Related Questions