I've updated that after Angel's helpful tests. It should be working now:

http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm

If your browser's default language is not English, could you please go to
that page and click on "console" just below the applet and see if the
message is in English or your language?

Provided this works, it means that all the language translation in Jmol is
automatically ported to JSmol.


Thanks,

Bob




On Mon, Mar 18, 2013 at 11:00 PM, Robert Hanson <[email protected]> wrote:

> Jmol users,
>
> OK, language localization is working in JSmol now. What this means is that
> if you add
>
> <meta charset="utf-8"/>
>
> to your web page, then Jmol will detect the user's language and
> automatically substitute that language in for the popup menu, console, and
> various messages.
>
> (That meta tag is necessary, as all the language data is in UTF-8, and if
> you don't have that on your page, then there's no sense in trying to do the
> translations. So JSmol checks for that and does not automatically switch
> languages if it is missing.)
>
> In addition, the command set LANGUAGE is enabled. So, for example:
>
> set language FR
>
> or
>
> set language en_UK
>
> should now be working.
>
> If your browser's default  language is not English, please open a pop-up
> menu at http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm and see if it is
> working. Do you see English or your language?
>
> see http://chemapps.stolaf.edu/jmol/jsmol.zip
>
>
> How it works:
>
> There is a new directory, j2s/trans  with all the language files from the
> Jmol Applet in it (the ".po" files). JSmol simply loads these files in
> binary format and creates a set of resources for a given language when that
> is needed.
>
> Bob
>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to