PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Managing multilingual data in Windev
Managing multilingual data in Windev
Iniciado por moi, 06,sep. 2019 20:12 - No hay respuesta
Publicado el 06,septiembre 2019 - 20:12
The internationalization features in WinDev are impressive. However, I haven't found a way to assign multiple language string values to a variable at RunTime. I want some of my DATA to drive translated portions of my application.

For example, I manage the translation of a lookup table in my database table "TypeCodes' which would look something like this:
CODE | LANG | Value
01 FR Féliciations
01 EN Congratulations
02 FR Aujourd'hui
03 EN Today

In my WinDev code, I want to read this table into an Array gTypeCodes in thich the Value is a single string with the multiple translations in it. This is sort of like creating Messages at RunTime.

Then I can access gTypeCodes[01] and that would return the proper string based on the active nation.