Jan wrote:
Miguel wrote:
...
Maybe the best solution for the dealing with the size would be to put
each language in a separate JmolApplet_xx.jar.
This way, only one language will need to be downloaded (except for
English where the translation is inside the code)
If that would work then it would be good.
But if they are in individual .jar files then it might be the case that
all of the translation .jar files would have to appear in the 'archive'
parameter to the applet/object tag. That would have a negative impact on
Jmol.js and .html pages.
I think, most page authors don't want a translated applet in an
untranslated page, or they want an applet with a defined language,
Yes, most of the time, I believe it's true
this could be achieved by e.g. in RasMol the script command
English
resets the GUI of the application to the defined language (or Spanish,
French, Italian) or for the Jmol applet by forcing a specific language
in the archive parameter.
I think, it would be a feature if the page author has to add the
translation .jar files to the object tag willingly.
Jmol.js could evaluate the xml:lang of the html document to determine
which translation .jar should be loaded.
This could be tricky, since the language may be composed of two parts :
for example: pt means Portuguese, but pt-PT means Portuguese from
Portugal, where pt-BR means Portuguese from Brasil.
I may be able to get Jmol translated in both (using pt for Portugal, and
pt-BR for Brasil).
So what if the page has xml:lang set to pt ? pt-PT ? pt-BR ? pt-XX ?
I would rather see a jmolSetLanguage() function called before
jmolApplet() to set the language.
Eventually, if there is no language set, Jmol.js could revert to
evaluate xml:lang (but I am not sure it is useful).
Miguel, what do you think ?
Nicolas
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers