Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

"Problems" with translate

Return to the EJS Modeling forum
Login to post to this thread

"Problems" with translate - Jul 31 at 12:18PM
Léo Macena
8 Posts

I would like to use a button to translate, however I do not know the command for this.
I have done the translation, when I use GUI options, the translation works perfectly, however I wanted a button that would do the same, without the need to make the GUI process options> Language> English.

I already used it and it did not work
_view.setLocale ("default")
_view.setLocale ("English")

Ps: Default is in Portuguese and I translated it into English.

Thanks for any help

Léo Rodrigues dos Santos Macena, Departament of Physics - Universidade Federal Rural do Rio de Janeiro. Departament of Physics - Faculdade de Ciências da Universidade do Porto. Programa de Educação

Current Replies - View all
Re: "Problems" with trans...   (Francisco Esquembre - Jul 31)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics