Page 1 of 1

Displaying labels in another language when opening Card

Posted: Thu Aug 27, 2015 8:59 pm
by liveme
Hi,

I'm interested in having my desktop app into several language,

I could translate labels of buttons and Title of Datagrid too which is just what I need so far.
For this I simple put all my script "label to Spanish" etc in a Language button.
Limits : This only works on the Active (or open) Stack/card...

1rst Problem,
How can I set a language param for the Whole App. at once ? :)

I d like any existing card(s) to "read" the (user's) defined choice
and instanlty display all (hard coded translation) labels,titles, etc... in their favorite lang.

My working code so far is: (in each Lang button)

Code: Select all

  
 set the label of button "ButtonA" to  "buscar"
 set the dgColumnLabel [ColA] of Group Listing to "Nombre"
I guess there might be other ways to process the translation needs...but I just starting here !

Re: Displaying labels in another language wehn opening Card

Posted: Fri Aug 28, 2015 2:18 am
by Simon
Hi liveme,
Welcome to the forums :)

Here is something for you to read that will help;
http://livecode.com/how-to-localize-livecode-apps/

Simon

Re: Displaying labels in another language wehn opening Card

Posted: Fri Aug 28, 2015 4:16 am
by liveme
Thanks simon ! More than I expexted but that's it ! :D

Re: Displaying labels in another language when opening Card

Posted: Mon Aug 31, 2015 11:32 am
by MaxV
If your software is not a mobile application, try the profiles.
At the present profiles on mobile don't work.