After testing, internationalisation seems to work correctly. But there
are still some things to do:

(1) Nicholas suggested to use context wrappers for special strings,
which could be problematic, e.g. "All" and "None". I suggest to do the
following:

In such a case, we should use 

"[labelNoneAtoms]None"
"[labelNoneBonds]None"
...

as strings. GT.java must be adjusted to remove '[label[a-zA-Z]*]' from
strings and only return the part, which follows these strings.

(2) GT.java throws an MissingResourceException for LANG=C (en_US). Maybe
it would be a good idea, to add a test, if LANG=C and then directly set
translationResources = null, if LANG=C, because the C locale is covered
by the original strings.

(3) build-i18n.xml should be fixed to run gettext-suite applications
also under Windows, not only under Linux. Maybe it can be a problem,
that Windows uses path\to\whatever and Linux uses path/to/whatever.
Hopefully there is a workaround, but I don't know it at the moment. If
there is no workaround, then there are 2 possibilities:
- add --no-location option,
  which removes '# org/jmol/.../whatever.java:line' comments from .pot
  and .po files
- only allow creation of Messages_*.class files for other operating
  systems then Linux to avoid an every-time update of location-comments

(4) .properties files should no longer contain translatable strings, but
variables, which can differ for several languages (e.g. About.aboutURL,
WhatsNew.changeLogURL ...).

(5) Strings like "100%" or "0.5 �" should not be translatable, because
they are always the same for every language.

(6) Further I would suggest to control the adequacy of strings, e.g.
"AtomSetChooser" should maybe something, a normal user understands. Or
in View-menu, the "All" and "None" should maybe be "Show all" and "Show
none" (+ context markers).

Comments, suggestions, concerns, solutions?

Regards, Daniel



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to