Page 1 of 3

<Solved>login.php cannot switch the language

Posted: Fri 28. Sep 2007, 16:51
by sunny123
I hope the page "login.php" can switch the language, how to change the code?
Thank you!

Posted: Sat 29. Sep 2007, 02:24
by sunny123
Pappnase,post here nobody answer me!

Posted: Sat 29. Sep 2007, 03:10
by StudioZ
[Note: This is false, Oliver]

Hi Sunny123,
Not fully implemented yet. :roll:
You will have to make a duplicate of this file:
template/inc_cntpart/felogin/fe_login.tmpl
and edit it for your needs.

After this, just select it from inside your login Content Part

Cheers,

Yves

Posted: Sat 29. Sep 2007, 03:25
by sunny123
StudioZ wrote:Hi Sunny123,
Not fully implemented yet. :roll:
You will have to make a duplicate of this file:
template/inc_cntpart/felogin/fe_login.tmpl
and edit it for your needs.

After this, just select it from inside your login Content Part

Cheers,

Yves
Sorry! :( You don't understand my meaning, I want to change backend language, how to switch the language at "login.php" of backend? I want user can see their language at login page of backend!

Posted: Sat 29. Sep 2007, 03:38
by StudioZ
sunny123 wrote: Sorry! :( You don't understand my meaning, I want to change backend language, how to switch the language at "login.php" of backend? I want user can see their language at login page of backend!
Oh!
01. Login as the User (ex.: Admin01) you want to change the language for and...
02. Go to Menu: Profile and make your selection in the language sub menu.

From now on, Admin01, will see the backend in the language you selected for him.

You should be OK now. :roll: :wink:

Yves

Posted: Sat 29. Sep 2007, 03:47
by sunny123
StudioZ wrote:
sunny123 wrote: Sorry! :( You don't understand my meaning, I want to change backend language, how to switch the language at "login.php" of backend? I want user can see their language at login page of backend!
Oh!
01. Login as the User (ex.: Admin01) you want to change the language for and...
02. Go to Menu: Profile and make your selection in the language sub menu.

From now on, Admin01, will see the backend in the language you selected for him.

You should be OK now. :roll: :wink:

Yves
Can you see my pic above?
I know you meaning, but I want user to choose their languages at login page of backend, they can see their language at login page at first, how to change the code of "login.php"?

Posted: Sat 29. Sep 2007, 05:11
by StudioZ
I understand now :wink:
Check the content of your folder:
include/inc_lang/backend/

You should see in there, all the different backend language packages:

ar
bg
ca
cz
da
de
en
es
et
fi

...
etc.

would the "bg" be the good one for you ?
If you can't access it through the menu at login.php then...
I would assume it is not in your distro.
You would then have to take it from fresh distro.

Or... is it possible it is not even translated for you yet?
You need which language? Is it Chinese (BG) ?

Hope you get it sorted out :roll: :wink:

Yves

Posted: Sat 29. Sep 2007, 06:27
by DeXXus
Have you added your language entry into this file?
"include/inc_lang/code.lang.inc.php"

Code: Select all

$BL['EN'] = 'English';
$BL['AR'] = 'عربي';
$BL['BG'] = 'Български';
$BL['CA'] = 'Catal&agrave;';
$BL['CZ'] = 'Česky';
$BL['DA'] = 'Dansk';
$BL['DE'] = 'Deutsch';
$BL['ET'] = 'Eesti';
$BL['ES'] = 'Espa&ntilde;ol';
$BL['FR'] = 'Français';
$BL['GR'] = 'Ελληνικά';
$BL['IT'] = 'Italiano';
$BL['LT'] = 'Lietuviu';
$BL['HU'] = 'Magyar';
$BL['NL'] = 'Nederlands';
$BL['NO'] = 'Norsk';
$BL['PL'] = 'Polski';
$BL['PT'] = 'Portugu&ecirc;s';
$BL['RO'] = 'Rom&acirc;nă';
$BL['FI'] = 'Suomi';
$BL['SE'] = 'Svenska';
$BL['RU'] = 'Русском';
$BL['SK'] = 'Slovenčina';
$BL['SL'] = 'Sloven&scaron;čina';
$BL['TR'] = 'T&uuml;rk&ccedil;e';
$BL['VN'] = 'Tiếng Việt';

Posted: Sat 29. Sep 2007, 06:32
by sunny123
StudioZ wrote:I understand now :wink:
Check the content of your folder:
include/inc_lang/backend/

You should see in there, all the different backend language packages:

ar
bg
ca
cz
da
de
en
es
et
fi

...
etc.

would the "bg" be the good one for you ?
If you can't access it through the menu at login.php then...
I would assume it is not in your distro.
You would then have to take it from fresh distro.

Or... is it possible it is not even translated for you yet?
You need which language? Is it Chinese (BG) ?

Hope you get it sorted out :roll: :wink:

Yves
sorry, you still don't understand me.
I hope this login.php page not for me, I hope it for every one!
As so ar,ca,cz,da,de,en... every language, they can see their language!
I may achieve?

Posted: Sat 29. Sep 2007, 06:37
by sunny123
[quote="DeXXus"]Have you added your language entry into this file?
"include/inc_lang/code.lang.inc.php"

Code: Select all

$BL['EN'] = 'English';
$BL['AR'] = 'عربي';
$BL['BG'] = 'БългарÑ

Posted: Sat 29. Sep 2007, 06:38
by StudioZ
DeXXus wrote:Have you added your language entry into this file?
"include/inc_lang/code.lang.inc.php"
...
Ah Ah !!!!
I think DeXXus' genious has THE solution to your problem :D
N'est-ce pas? :wink:

Cheers,

Yves

Posted: Sat 29. Sep 2007, 07:00
by sunny123
StudioZ wrote:
DeXXus wrote:Have you added your language entry into this file?
"include/inc_lang/code.lang.inc.php"
...
Ah Ah !!!!
I think DeXXus' genious has THE solution to your problem :D
N'est-ce pas? :wink:

Cheers,

Yves
NO NO!
You all don't understand me!
Please watch my picture above carefully!
Now I choose English, but it still Chinese,I want the page to turn into English login page. How to do?

Posted: Sat 29. Sep 2007, 07:55
by DeXXus
This may be a dumb question. Is your browser encoding set properly to English?

Posted: Sat 29. Sep 2007, 09:16
by sunny123
DeXXus wrote:This may be a dumb question. Is your browser encoding set properly to English?
My IE browser? How to set encoding properly to English?

Posted: Sat 29. Sep 2007, 09:37
by sunny123
DeXXus wrote:This may be a dumb question. Is your browser encoding set properly to English?
Can you help me to change the login.php to set properly langage from people choose, and from browser enconding too?