Tread marked as fixed:
http://forum.coppermine-gallery.net/index.php?topic=24075.0I guess its kind of parked and not read. So i assume the right thing is to post a new topic. Here it goes:
Whatever can be set and stored in cookies as language preference based on list-box on frontside: Works OK. With or without nibblers fix.
But changing, as admin, in 'configuration'-menu, language: Does not work properly.
The place to check is wether the 'cpg140_config' -table change the 'name' "lang" to 'value' "english" (or whatever chosen) or not when requested.
I would like to set language to norwegian and remove listbox and language-flags on frontpage. And i can not do that from config meny as long as the database not gets the message 'name' "lang" to 'value' "norwegian"
That is with the fix in place.
I have looked more into it.
If display language is lets say 'english' chosen from listbox (and stored in cookie i guess), the admins' config menu on language present 'english' as the choice, other languages can be chosen, and will get updated in cpg140_config if chosen.
but:
If display language is changed to lets say 'norwegian' chosen from listbox (and stored in cookie i guess), the admins' config menu on language present 'norwegian' as the choice, on update it _will_ _not_ update the cpg140_config
Other languages can be chosen, and _will_ get updated in cpg140_config if chosen.
So:
It seems like the rule is that if admin chose a language as a personal preference, it will stop him/her from setting and updating the same language as system default.
But:
Admin can chose lets say .. 'catalan' as language (personal setting from listbox on frontpage) and from that position set 'norwegian' as system default, then switch back to norwegian (from listbok on frontpage) for him/her-self, go back to config and remove the listbox on frontpage; And the system is locked to norwegian and the key trown away.
(Hey, I'm not complaining, I'm not like that. Great work!)
Mvh Andrez1