Hi Angel,
There may be an easy way to add a language in the popup menu if is choosen
by the used.
When switching language, I think GT.getTranslation() is called, which may
result in a call to addBundle().
In addBundle(), we could parse the language list array, and if needed change
the "false" to a "true".
Next time the menu is recreated the language will be visible (I hope the
menu is automatically recreated when switching language...)
What do you think ?
Nico
2010/12/14 Angel Herráez <angel.herr...@uah.es>
> El 13 Dec 2010 a las 11:03, Robert Hanson escribió:
> > Just follow the examples of the other languages.
>
> Yes, I've found the code that does it (GT.java). It makes sense: only
> languages with over 80% translated items get to the popup. The next
> two candidates pt and pl are just above 50%. I doubt whether
> "upgrading" them to the menu; maybe that would help people to realize
> their language is there, and help in completing the translation.
>
> All this was initiated by my surprise to see that the languages
> unavailable in the popup are functional and available via script, but
> they all are. I guess if your OS is among the low-translated, the
> interface will automatilly be switched to it by Java defaults; the
> problem is if the user changes to another --e.g. English--, there is
> no way back for them.
>
>
>
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers