<Solved>login.php cannot switch the language
Posted: Fri 28. Sep 2007, 16:51
I hope the page "login.php" can switch the language, how to change the code?
Thank you!
Thank you!
The phpwcms support forum will help to find answers to your questions. The small but strong community is here since more than 10 years.
https://forum.phpwcms.org/
Sorry!StudioZ wrote:Hi Sunny123,
Not fully implemented yet.![]()
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
Oh!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!
Can you see my pic above?StudioZ wrote:Oh!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!
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.![]()
![]()
Yves
Code: Select all
$BL['EN'] = 'English';
$BL['AR'] = 'عربي';
$BL['BG'] = 'Български';
$BL['CA'] = 'Català';
$BL['CZ'] = 'Česky';
$BL['DA'] = 'Dansk';
$BL['DE'] = 'Deutsch';
$BL['ET'] = 'Eesti';
$BL['ES'] = 'Españ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ês';
$BL['RO'] = 'Română';
$BL['FI'] = 'Suomi';
$BL['SE'] = 'Svenska';
$BL['RU'] = 'Русском';
$BL['SK'] = 'Slovenčina';
$BL['SL'] = 'Slovenščina';
$BL['TR'] = 'Türkçe';
$BL['VN'] = 'Tiếng Việt';
sorry, you still don't understand me.StudioZ wrote:I understand now![]()
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![]()
![]()
Yves
Code: Select all
$BL['EN'] = 'English';
$BL['AR'] = 'عربي';
$BL['BG'] = 'БългарÑ
Ah Ah !!!!DeXXus wrote:Have you added your language entry into this file?
"include/inc_lang/code.lang.inc.php"
...
NO NO!StudioZ wrote:Ah Ah !!!!DeXXus wrote:Have you added your language entry into this file?
"include/inc_lang/code.lang.inc.php"
...
I think DeXXus' genious has THE solution to your problem![]()
N'est-ce pas?![]()
Cheers,
Yves
My IE browser? How to set encoding properly to English?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?DeXXus wrote:This may be a dumb question. Is your browser encoding set properly to English?