Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
site language [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: site language [SOLVED] (Read 3864 times)
ROUBOS
Hero Member
Posts: 699
site language [SOLVED]
«
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?
«
Last Edit: June 24, 2010, 18:35:41 by ROUBOS
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: site language
«
Reply #1 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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: site language
«
Reply #2 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();
Logged
I've got a snap in my finger...
Got rhythm in my walk...
ROUBOS
Hero Member
Posts: 699
Re: site language
«
Reply #3 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
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: site language
«
Reply #4 on:
June 24, 2010, 18:30:25 »
Site -> Languages manager -> Site languages
Unpublish all except english
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
ROUBOS
Hero Member
Posts: 699
Re: site language
«
Reply #5 on:
June 24, 2010, 18:35:29 »
thanks a lot.
feel so stupid now
thanks again
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
site language [SOLVED]