coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Dasm2000 on April 13, 2006, 03:47:45 PM

Title: Language feedback
Post by: Dasm2000 on April 13, 2006, 03:47:45 PM
I am integrating multiple galleries in a multi-lingual site. Any ideas on how to feed the gallery's current language back to the main site. Where does $lang get stored when a flag is clicked? Maybe i can retrieve it from there...

Many thanks in advance...
Title: Re: Language feedback
Post by: Joachim Müller on April 13, 2006, 07:47:44 PM
it is being stored in a cookie.
If you start your multilingual site from scratch, I suggest taking a look at the powers of utf-8 (unicode) and the resulting auto-detection of the prefered language of the site visitor instead of wrestling with coppermine's cookie.