Guido, try with $_SERVER['HTTP_ACCEPT_LANGUAGE'] This item contents the abreviation of the client browser language (en_EN, de_DE, etc.) In QC the language is determined in general.php -> look for $sLang=... You can build the query: if $_SERVER['HTTP_ACCEPT_LANGUAGE'] == en_EN then $sLang = en if $_SERVER['HTTP_ACCEPT_LANGUAGE'] == de_DE then $sLang = de else $sLang = nl (if nl is your default)
this week i have no time to test it, but it should work, if you implement this correctly to general.php
Not working. I've stumbled upon the default language settings. Cannot remove them without getting errors or 'nothing found' when I visit homepage of website. And there's also line in index.php: require DB_CONFIG_LANG
Guido, do you have some different (language) computers? Or access to these? Prepare 3 pieces: NL, DE and EN I will try to write some code and put a test CMS on my webserver. Hope, I get this today afternoon (i have really not so much time)
http://www.kimla.de/cmslangtest/ should be so: with PL computer polish pages will be shown, with DE computer, german page, with NL, dutch page, with EN, englich pages. If not in these 4 langs, then default (i suppose, i have set EN)
Last time i'm a bit tired. We bought a house in Bestwig and we are moving. From Dortmund it is 80 km and we do it by ourselves. Maby we will meet there by ski in winter (its only 20 km from Winterberg) in our region there are a lot of ski parks and the Fort Fun we have 2,5 km from us :-)