Hi everyone,

I have committed a first version for the i18n of contextual menu.

There are no more JmolPopupWords.properties and JmolPopupStructure.properties files. The translation of the Application/Applet is entirely done using the gettext tools.

I have used the old JmolPopupWords_xx.properties to initialize the translations in the gettext format. That would be great if someone knowing the languages could check (and if possible complete) the translations.

The current status of the translations of the contextual menu :
- German: 4 translated messages, 193 untranslated messages. There was no JmolPopupWords_de.properties. - Spanish: 185 translated messages, 12 untranslated messages. Needs verification and a few more translations. - Estonian: 4 translated messages, 193 untranslated messages. There was no JmolPopupWords_et.properties.
- French: 191 translated messages, 6 fuzzy translations. Needs verification.
- Dutch: 168 translated messages, 29 untranslated messages. Needs verification and a few more translations.

Also, if anyone is interested in translating it to an other language, it's quite easy to do and doesn't take much time.
Just contact me, I will explain the translation process.

Nicolas

PS: Answers to Miguel in the text below


Miguel wrote:

My plan (a few years ago) was to have the popup menu file and translations
on the web server. That would allow people to create their own popup
menus.

In practice, no one has used that mechanism.

At this point I think that incorporating the menus/translations into the
..jar files would be fine.
We could mix the two (official menus/translation in the .jar, and possibility to add more).

- create one derived class of ListResourceBundle for the structure
(copying JmolPopupStructure.properties into it)
In fact, I didn't use ResourceBundle for this one, since there is no need for translations.
It's just stored in a Properties object.

Any comment ?

I think that will be fine.

Depending upon the size of the translations, it may be better for us to
put them in their own JmolApplet7.jar file.

At first you should do whatever is easiest for you.
Currently, I think it's not included in the JmolApplet*.jar files.
Where do you prefer to put them ?

The class files containing the translations currently represent a total of 41 KB. I hope it will get bigger (completing current languages, adding new languages)

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)




-------------------------------------------------------
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

Reply via email to