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
^_^
Frontend User Management languages
Frontend User Management languages
Last edited by chipus on Wed May 31, 2006 3:39 am, edited 1 time in total.
Re: News and Frontend User Management languages
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,
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
Hi all,
This is what really happen when i try to apply another language to Frontend User.
The code:
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]
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>
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]
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Frontend User Management languages
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.:
This will override just these strings, and will work if you upgrade the feusers module in the future as well.
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.
?>
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.