APS Excellence in Physics Education Award
November 2019

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
Léo Santos
10 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 Macena dos Santos Departament of Physics - Faculdade de Ciências da Universidade do Porto.

Current Replies - View all
Re: "Problems" with trans...   (Francisco Esquembre - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book