Page 1 of 1

FEUsers and MLE

Posted: Mon Sep 01, 2008 1:38 pm
by jd
Hi,

I'm trying to build a website, which uses the MLE fork and I have a section that would require user registration.
I installed the FEU and Self Registration, but can't make it work properly with the different languages.
For some reason the FEU ignores the lang file (i'm trying to build the site in Bulgarian and English, I created a bg_BG translation of the FEU).

This is what I use in the form:

Code: Select all

{cms_module module=FrontEndUsers form="login" lang="bg_BG" returnto="home" nocaptcha="1"}
Also, for some unknown reason the label on the "Login" button doesn't show up.
I'm using the latest version of the modules since I'm installing them through the Module Manager.

10x in advance for the help!

Re: FEUsers and MLE

Posted: Mon Sep 01, 2008 2:25 pm
by alby
jd wrote:

Code: Select all

{cms_module module=FrontEndUsers form="login" lang="bg_BG" returnto="home" nocaptcha="1"}
you must use $lang variable:

Code: Select all

{cms_module module=FrontEndUsers form="login" lang="$lang" returnto="home" nocaptcha="1"}
check if you have in lang/ext/bg_BG.php
$lang['login'] = 'translate_in_bg_BG_of_Sign_in';

Alby