The moose likes Swing / AWT / SWT and the fly likes Internationalization problemmm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Internationalization problemmm" Watch "Internationalization problemmm" New topic

Internationalization problemmm

aymane chetibi
Ranch Hand

Joined: Apr 12, 2006
Posts: 175
Hello All,
I have been recently asked to do internationalization to a very large application. (to both english and french)
I have created 2 .properties files that include the keys and their translations. one for french and one for english.

In My source code, after doinf this:

I look for any string displayed in the frame and replace it with something like :

this is taking me forever to do, since the application is very large, and I thaugh maybe I am doing this the wrong way.
I was wondering if there is any other way of doing this.

I would really appreciate if you can help me with that.
thanks a lot.

Alice Corman

Joined: Jun 21, 2006
Posts: 19
Some IDE's provide "wizards" to help interationalize entire applications. The results are not always 100% accurate. But it is probably faster than doing it manually. You might check the documentation for your IDE or search for an IDE that includes this kind of tool.
It is sorta covered in the JavaRanch Style Guide.
subject: Internationalization problemmm
Similar Threads
[JSF 1.2 and 2.0/Internationalization] How to propagate the Locale to the entire application
JRadioButton labels don't change on repaint()
Help with I18N
Override request headers
Getting ApplicationResources from a Custome Request Processor