PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WINDEV multilingual caption
WINDEV multilingual caption
Iniciado por guest, 22,ago. 2017 10:16 - 2 respuestas
Publicado el 22,agosto 2017 - 10:16
I remember seeing in a video (or reading it somewhere) that I could "catch or assign" the caption of a Multilingual control.

EDT_Test..caption -> this returns the caption of the current used language/nation.

But I need something like this:

EDT_Test..caption[French]
EDT_Test..caption[English]

etc

thanks ilias
Publicado el 22,agosto 2017 - 14:23
Hi ilias,

use the nation function with the option NOT to change the UI immediately and change to the desired language, then get your label, and do the same for each language

Best regards
Publicado el 22,agosto 2017 - 14:34
Hi. It's easy.

EDT_Test..caption = "My Caption"

Now Select "My Caption" in code editor and push right mouse button, then select Traslate option and set the captio for each language.


Rubén