login screen default language

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
dejan
Posts: 9
Joined: Sat 21. May 2005, 17:06
Location: Maribor, Slovenia

login screen default language

Post by dejan »

using:
PHPWCMS version v1.2.1-DEV
Apache/1.3.33 (Debian GNU/Linux)

Changed/made:
'si' folder with translated files
admin account with 'si' default language
$phpwcms["default_lang"] = "si"; //default language
$phpwcms["charset"] = "windows-1250";
deleted all language directories except 'en' and 'si'


Problem:
Can't make default language at login screen to slovenian, english is always shown as default. I can login to backend, and no matter what backend language i choose at login screen it shows me slovenian. When i delete or rename 'en' folder i somethimes see login page in proper language, but sometimes blank login page.

It is not a big problem, but it is annoying.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

the login.Script didn't use the default-language from the con.inc.php AFAIK it always uses the Language from the Browser settings - that is what I see at my place - when I switch the Browser Language to German - I get German and when I switch it to English I get - English
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
dejan
Posts: 9
Joined: Sat 21. May 2005, 17:06
Location: Maribor, Slovenia

Post by dejan »

Thanks for your reply.

So there's no way to control it from server side?
StudioTandem
Posts: 9
Joined: Thu 4. Nov 2004, 20:14
Location: Maribor, Slovenia
Contact:

Post by StudioTandem »

The language code for slovenian is not si! It is sl.
You should rename your folder to sl and all references from si to sl if you want browser-language detection to work at login page.

lp, boris (tudi iz mb)
dejan
Posts: 9
Joined: Sat 21. May 2005, 17:06
Location: Maribor, Slovenia

Post by dejan »

It is working.


Hvala. / Thanks.
Post Reply