Am Montag, den 30.05.2005, 13:01 +0200 schrieb Nicholas:

> I had a problem mixing single quotes and {0} and I asked the poEdit team 
> about it.
> Singles quotes are handled in a specific way when dealing with Java
> Strings: they need to be doubled (two single quotes) in the
> translation to be dealt with correctly.
> 
> You can check here:
> http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html

Thanks for pointing this out.

> Daniel, Egon, I think that we should create a readme

Yes, that's a good idea. But first I would like to see, that all
translatable strings use the new system (there were a lot of strings in
PreferencesDialog.java and also in Jmol.java) - I'm not sure, if debug-
and or state-messages should be translated too (IMHO no).

> for the translation in the src/org/jmol/translation directory
> explaining how to do a translation and listing the few things that are
> not straightforward (single quote, [label...], ...)

Context markers are still missing - I don't have enough knowledge to
implement them. I had a discussion with Egon about the problem, but
without a final result. So here is the question: What would you prefer?

- using context markers (need to be introduced in GT.java)
- be more specific in the original strings

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