Page 1 of 1

CP FORM --> Länder-Ausklappmenü / select country menu

Posted: Fri 9. Jan 2009, 00:30
by Jensensen
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:

Code: Select all

$phpwcms['DOCTYPE_LANG'] = "whatever_lang";
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

Code: Select all

lang = EN
first = - select language -
default = DK
Image

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

Re: CP FORM --> Länder-Ausklappmenü / select country menu

Posted: Fri 9. Jan 2009, 10:46
by update
Very cool finding! :D

Re: CP FORM --> Länder-Ausklappmenü / select country menu

Posted: Fri 9. Jan 2009, 11:04
by juergen
Multi Gurm !