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 post and replies

Return to the "Problems" with translate thread
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.

Replies to "Problems" with translate

Re: "Problems" with translate -
Francisco Esquembre
228 Posts

I understand it is a Java simulation.



If still doe snot work, please send the simulation and I'll have a look at it.


OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book