De: Bob Hanson <[EMAIL PROTECTED]>

>ooh, you're not the only one. I've done the same thing in the past and 
>never ever thought about translation. We could IN PRINCIPLE offer a "no 
>translation option",  but that seems to me rather rude. You are right 
>that this could very well break some pages -- mine included. For 
>example, I have a page that says:
>
> if(what.indexOf("Script completed")>=0)return
>
>Oh, oh!
>
>I don't know what the solution for this is.
>
>We could:
>
>1) back off and not translate so much -- but what to choose?

The limit could be that everything output to the console is not translated, but 
I don't like this idea much.


>2) promote using "jmolScriptWait()" more, which returns the number of 
>selected atoms directly with no need for callbacks. (If that is what you 
>are doing.)

We should promote using methods (like "jmolScriptWait()") for pages wanting to 
have feedback from Jmol.
The problem with parsing textual output from Jmol is not limited to i18n, but 
can also occur with pure English:
- between  two versions of Jmol we can change some strings.
- the user can already choose to display the level (DEBUG, INFO, ...) 
associated with the textual output, or even to suppress some output levels


>Be that as it may, you are right, Paul, pages using this hack will be 
>broken for non-English speakers.
>Yieks.
>
>Bob
>
>
>Paul Pillot wrote:
>
>>Hello,
>>I have a simple page with a messagecallback function which extracts the 
>>number of atoms selected in the expression "n atoms selected"
>>I've just realized that it's not working anymore because, using a french 
>>browser I get the message "n atomes séléctionnés" instead. 
>>Internationalization in Jmol is great, but I think that in this case it 
>>may break lots of parsers, without their authors knowing the bug 
>>(imagine someone writing a script, and doing intensive debugging in 
>>english browsers, how can he guess that the message won't be the same if 
>>an user as different language settings ?).
>>How can we adress this important issue ?
>>
>>Paul
>>
>>-------------------------------------------------------------------------
>>Using Tomcat but need to do more? Need to support web services, security?
>>Get stuff done quickly with pre-integrated technology to make your job easier
>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>_______________________________________________
>>Jmol-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/jmol-users
>>  
>>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to