CP FORM --> Länder-Ausklappmenü / select country menu
Posted: Fri 9. Jan 2009, 00:30
Ever noticed that the values of the option select field 'Länder-Ausklappmenü' / 'select country menu' are (default) displayed in the language that was set in the CONFIG:
That's why the question was: How-to get the correct language of
--> select country menu
--> Länder-Ausklappmenü
in CP form / formular?
Answer: Try to set--> value / Wert
for example to

Now you can get the Länder-Ausklappmenü / select country menu
--> associated with the language of the page BUT
--> independent from the language setting of the CONFIG:
Very nice, isn't it?
Thanks to OG for explanation: http://code.google.com/p/phpwcms/issues/detail?id=147
Code: Select all
$phpwcms['DOCTYPE_LANG'] = "whatever_lang";
--> select country menu
--> Länder-Ausklappmenü
in CP form / formular?
Answer: Try to set--> value / Wert
for example to
Code: Select all
lang = EN
first = - select language -
default = DK

Now you can get the Länder-Ausklappmenü / select country menu
--> associated with the language of the page BUT
--> independent from the language setting of the CONFIG:
Very nice, isn't it?
Thanks to OG for explanation: http://code.google.com/p/phpwcms/issues/detail?id=147