Elxis CMS Forum

Support => General => Topic started by: ROUBOS on June 24, 2010, 17:15:24

Title: site language [SOLVED]
Post by: ROUBOS on June 24, 2010, 17:15:24
Hi,
I've put the site language to English in the settings, but when I open up the site in IE8 (I know I hate IE but I check it to make sure the site works in IE as well) it directs me to greek. /el

Why?

Title: Re: site language
Post by: datahell on June 24, 2010, 17:56:47
You have Greek language also published, right?
Elxis automatically detects your browser language and, if allowed by the site settings, redirects you to a version of the site in your language. This happens only when you directly the front-page of the site and only for the first time. If you change language then your setting is being stored for the session. This feature is a sample on how smart Elxis is.
Title: Re: site language
Post by: Ivan Trebješanin on June 24, 2010, 18:01:38
Because of BrowserLang wich detects user's browser language. You may comment out this if you want to.

In index.php around line 67
Code: [Select]
$elxis_language->toBrowserLang();
Title: Re: site language
Post by: ROUBOS on June 24, 2010, 18:04:22
Where do I deselect the greek language? Its UTF-8 so it can display greek text anyway.
Dont want to have a language selection. Just english
Title: Re: site language
Post by: datahell on June 24, 2010, 18:30:25
Site -> Languages manager -> Site languages
Unpublish all except english
Title: Re: site language
Post by: ROUBOS on June 24, 2010, 18:35:29
thanks a lot.
feel so stupid now :(

thanks again