If you set up a messageCallback, then translation is supposed to be
turned off by default for all error messages. You see this message in
the Java console upon applet startup:

Note -- Presence of message callback will disable translation; to
enable message translation use jmolSetTranslation(true) prior to
jmolApplet()

The menu still gets translated, but the messages aren't supposed to.
This was set up so that adding translations does not break pages that
were set up to require parsing of the the English messages in
messageCallback.

That said, it's not working. I've tracked this down to a bug in Jmol
11.6 and 11.7 and have fixed both.

Since Rolf is not using jmolSetTranslation(true), those error message
should be in English.

Now, Rolf. You have to decide if you want your users to see translated
messages or not and, if so, whether you want to separately have access
to English-only error messages. I'm currently setting up Jmol 11.7 so
that you can do both, because I think it would be valuable anyway to
be able to get the untranslated version for errorCallback and,
besides, it will be more efficient to do it this way.

Bob


On Thu, Dec 4, 2008 at 10:07 AM, Angel Herraez <[EMAIL PROTECTED]> wrote:
> I understood that there was a mechanism (setting) to prevent error
> messages from being translated. From the recent discussion, I am not
> clear as whether that is not working as I thought it would.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to