Default site language

Hallo Everybody,

this is my first topic on boonex.com. I use the last version of Dolphin7 on VServer.

I have 3 languages (EN, DE and PL). The trouble is that i can´t select PL as "Default site language" :(

It´s a polish community, so have to start always first in polish...

This was done through:

1. Admin -> Languages Settings -> Default site language: Polish
2. Admin -> Advanced Settings -> Index page settings -> Default Country on Index Page:PL

3. I have change the file inc/languages.inc.php" line 49: if( !$sLang ) $sLang = tryToGetLang( 'pl' ); too!

But no matter what i do, language DE ist always first as site language. If i uninstall DE, then is EN as site language.

Please, help me! THX-Puri.

polish


Quote · 22 Jan 2010

The problem is the $_SERVER["HTTP_ACCEPT_LANGUAGE"] line. It will set the language to the default language that your browser is set to accept. Comment that line out and see how it works =P

Quote · 20 May 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.