Thanks for the information. However, if a user wants to write a new properties file for another language, where would she put it? John On Tue, Dec 07, 2010 at 10:39:43AM +0000, Michael Whapples wrote: > What lead you to that conclusion? Where did you look? A less than 5 > minute search tells me that unicode can be represented in .properties files. > > Firstly I found an indication of how unicode could be shown in > .properties files by looking at the javadoc for java.util.Properties > http://download.oracle.com/javase/6/docs/api/java/util/Properties.html. > Probably the most useful things here are that .properties files are > written using the ISO8859-1 encoding and any character which cannot be > represented by this encoding can be inserted using the \u (eg. \u0009) > unicode notation. > > May be a more readable article might be this wikipedia article, it gives > much more detail on the .properties file format (eg. how you can have > keys with spaces in the name, etc) http://en.wikipedia.org/wiki/.properties. > > I also found this FAQ on java internationalisation which also seems to > have the answer, may be it will have answers to other questions you may > have http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp. > > As for the languages which use right to left writing, I don't know the > answer off-hand, it may need looking at to see if SWT provides anything > in this area as SWT will be doing the displaying. > > Michael Whapples > On 07/12/10 04:16, John J. Boyer wrote: > >There doesn't seem to be a satisfactory answer to encoding of > >trranslations in properties files. So it looks to me as if we will have > >to use subclasses of ListResourceBundle. The translations can always be > >entered as Unicode values. Moreover, for languages suchh as Hebrew and > >Arabic we will have to enter them "backwards". > > > >If we need a new subclass for a new lacality only that subclass will > >have to be compiled and added to the jar file. With ant this is trivial. > > > >John > > > > -- My websites: GodTouches Digital Ministry, Inc. http://www.godtouches.org Abilitiessoft, Inc. http://www.abilitiessoft.com Location: Madison, WI, USA