Page 1 of 1
Frontend User Management languages
Posted: Tue May 09, 2006 10:07 am
by chipus
hi,
I try to build a website with multiple language.
The default language of the News module and the Frontend User Management module are en_US.
Could u tell me how could i define another language? Because the language is not yet supported by CMSmadesimple.
Thx a lot
^_^
Re: News and Frontend User Management languages
Posted: Thu May 11, 2006 7:21 pm
by chipus
hix, noone can help me?
I tried to create the language file in the lang folder. however, thing doesn't work.
Should i try the Multi language module?
regards,
Re: News and Frontend User Management languages
Posted: Wed May 31, 2006 2:59 am
by chipus
Hi all,
This is what really happen when i try to apply another language to Frontend User.
The code:
Code: Select all
<div id="content">
{cms_module module=CustomContent lang="fr_FR"}
<!--customContent: startif group=test -->
{content}
{cms_module module=FrontEndUsers form="logout" lang="fr_FR" returnto="test_page"}
<!--customContent: else -->
{cms_module module=FrontEndUsers form="login" lang="fr_FR" returnto="test_page"}
<!--customContent: endif -->
</div>
Please see the attachments below to know what happen:
Pic 1: the first screen is display ok
Pic 2: If i input wrong username and password and press Login button, it will display the sentence "invalid username and password", but in ENGLISH
Pic 3: If i just leave the username and password field and press Login button, it will display the sentence "invalid username and password", in FRENCH
Pic 4: If i press the link "Forgot Password", it will display everything in ENGLISH.
If anyone know how to fix it, please give me a hand and help me.
Thanks very much.
[attachment deleted by admin]
Re: Frontend User Management languages
Posted: Thu Jun 22, 2006 12:15 am
by calguy1000
This is due to a references issue in the core, and has been fixed in svn. However, there is a workaround.
You can create a /module_custom/FrontEndUsers/lang/en_US.php file
and override the individual strings that are not working for you.
i.e.:
Code: Select all
<?php
$lang['submit'] = 'my translation for Submit';
$lang['cancel'] = 'my translation for cancel';
etc, etc, etc.
?>
This will override just these strings, and will work if you upgrade the feusers module in the future as well.