I've been poking around to see what options we might have. Implementing something like GT_ is one option. Alternatively, can we put the text that needs to be translated in an invisible div in the templates and then use that text as the overlay text? Another alternative would be to keep the text in an external .html file and load it on top.
Jonathan On Aug 27, 2008, at 4:47 PM, Robert Hanson wrote: > right -- the translations are only in the .html files. Jonathan, > what we should do is create a GT equivalent for the JavaScript -- > that is, a .js file that is inserted IF there is language > dependence, and JavaScript to look up a phrase in that code. > > Angel, maybe you can suggest a way of doing that. > > Bob > > > On 8/27/08, Jonathan Gutow <[EMAIL PROTECTED]> wrote: I would prefer > not to have to translate JmolPopIn.js. I think we > should put the strings that need translating somewhere else. While > looking into this I found some other messages that end up in the > generated pages that should be translated. I will update the these. > I will try to do this tonight. > > Jonathan > > On Aug 27, 2008, at 3:19 PM, Angel Herráez wrote: > > > The fixes are working great. I'm getting fully-Spanish Export to Web > > dialogs, help pages and template-based web pages. > > > > But for it to be perfect, we need also the JmolPopIn.js to be > > localized > > (JmolPopIn_xx.js), since it holds an important message, i.e. > > telling the user > > to click in order to get the Jmol model inserted in place of the > > static image. > > > > Bob, can you do the Java code changes? > > It's in WebPanel.java, lines 433-436 > > Thanks > > > > > > > > > ---------------------------------------------------------------------- > > --- > > 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-developers mailing list > > Jmol-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > Dr. Jonathan H. Gutow > Chemistry Department [EMAIL PROTECTED] > UW-Oshkosh Office: > 920-424-1326 > 800 Algoma Boulevard FAX:920-424-2042 > Oshkosh, WI 54901 > http://www.uwosh.edu/faculty_staff/gutow/ > > > > > > > ---------------------------------------------------------------------- > --- > 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-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > > -- > Robert M. Hanson > Professor of Chemistry > 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 > ---------------------------------------------------------------------- > --- > 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-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers Dr. Jonathan H. Gutow Chemistry Department [EMAIL PROTECTED] UW-Oshkosh Office:920-424-1326 800 Algoma Boulevard FAX:920-424-2042 Oshkosh, WI 54901 http://www.uwosh.edu/faculty_staff/gutow/ ------------------------------------------------------------------------- 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-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers