Hi there,
I am setting up a multi language page in german and english. I am using Locales->Languages and all Labels work fine. Changing language button is on top of my form.
-
Why isn’t language selection drop down changing it’s language? English by default?
-
Now, how can I use Label with a SELECT Drop Down? Since SELECT form field is displaying the original database value I get “{lang_germany}” instead of “Germany” as I defined in languages. I thought about a work around. I set up a row for each language within my database and tried to work with a SELECT depending on active language, but I guess my my code is wrong and Variable of active language also. Help would be appreciated:
IF {lang} = "German" THEN
SELECT db_select_country_id, country_de
FROM db_select_country
ELSE
IF {lang} = "English" THEN
SELECT db_select_country_id, country_us
FROM db_select_country
END