Internationalization



I was informed today that my Java program might be used in several other countries, including China, Romania, and some Spanish-speaking countries in South America.

This mostly impacts the GUI where I have menu items, tool-tips, and dialog messages -- all in English, currently.

I haven't a clue what I should do to make my GUI internationalized. I am seeking guidance on this...

I read the article at: http://java.sun.com/developer/technicalArticles/J2SE/locale/ but it didn't explain how I would most wisely go about making my drop-down text menu available in several different languages.

Say, to make the "File" menu and the "Edit" menu use different words depending on the Locale setting, would I have to create a lengthy if{}-else{} block to test for each Locale supported and return a translated String for each word? If so, in my case with a lot of text/words, this would be extremely cumbersome and the code would probably triple in size. It might be less tedious if I were to maintain multiple versions of the software (in each language). Am I missing something?

Mark
.