Elxis CMS Forum
Support => General => Topic started by: xmanhattan on July 31, 2009, 10:49:05
-
Hello all,
Although I set the default language to Greek, through the global configuration in the control panel, the site appears in English.
Does this have to do with the second line shown here:
$mosConfig_lang = 'greek';
$mosConfig_pub_langs = 'english,greek';
$mosConfig_alang = 'greek';
Should the configuration.php be (code) or is there something else that I maybe missed?
$mosConfig_lang = 'greek';
$mosConfig_pub_langs = 'greek,english';
$mosConfig_alang = 'greek';
-
As I can see :
Redirect to user's browser language
This feature is available in Elxis 2009.0 DEV rev2288 or newer.
When a visitor first visits your front-page during a session Elxis will automatically detect his browser language and re-direct him to a version of the site in this language (if exists). Notice that this redirect only happens when you visit the front-page.
If you want to disable this feature open Elxis' index.php and comment this line:
$elxis_language->toBrowserLang();
http://wiki.elxis.org/wiki/2008.1_vs_2009.0_differences#Redirect_to_user.27s_browser_language
-
Ooooops, thank you for reminding me of that.
I verified that it works.
-
Ok.
That's the point! :
I verified that it works.
;)
-
hi,
i made my website (in local ) in french and i want to add english, i dontv know how to translate links and to make a corresponpance between link and contents.
can yu help me?
-
actually you have to create from the begin those English links pointing to existing English content
read a short description of how you can start with multilingual content
http://wiki.elxis.org/wiki/Quick-Guide_Add_Content#Prepare_For_Multilingual_Content
-
OK THANKS§ ;D