Change language on click
post and replies
Return to the Change language on click thread
Login to post to this thread
Change language on click
December 9, 2014 4:55PM UTC
Apostolos Michaloudis
28 Posts
Is there a way or a command in order to change the language by pressing a button? I want to make a menu where the user can change language by clicking on a menu item
Re: Change language on click -
Dec 10 3:23AM UTC
Francisco Esquembre
237 Posts
Hi, In the Java flavor of EjsS, there is. Try _simulation.setLocale(String language); Where "language" is the string for your language. I.e. "en" for English, "es" for Spanish... Paco
Re: Re: Change language on click -
Dec 10 6:23AM UTC
Wolfgang
192 Posts
The EJS Language Translation API is explained in the following video. http://www.compadre.org/osp/items/detail.cfm?ID=10317
Re: Re: Re: Change language on click -
Dec 10 5:25PM UTC
Apostolos Michaloudis
28 Posts
Thank you mr. Esquembre and mr. Wolfgang !