Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1011)
This mod adds a box on the Registration form for users to select their prefered Language from the available languages list.
To enable this mod you must go to "Admin Control Panel" > "Features and Options" and check "Show language on registration form?".
English and Portuguese (ISO and UTF8) languages included.
Made by LPCA.
Version 1.0
! Initial Release
! Tested on SMF 1.1.4
! Fixed some issues
! Redesigned registration layout
! Added administration feature
! Added Portuguese translation
! Release based on original modification by edurg
*** updated & replaced the archive ***
nice mod but one question is possible to have another language by default and not the english
for example i have italian forum and for me will be useful have the italian as default language i can do it?
I have the same question...
Hi, following is Thai and Lao translate for this MOD ;)
<file name="$languagedir/Modifications.thai-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Registration - Show Language mod
$txt['registration_language_admin_field'] = 'ต้องการให้เลือกภาษาในแบบฟอร์ดการลงทะเบียนสมาชิก?';
$txt['registration_language_template_field'] = 'ภาษา';
$txt['registration_language_all_label'] = 'ภาษา';
// Registration - Show Language mod
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.lao-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Registration - Show Language mod
$txt['registration_language_admin_field'] = 'ຕ້ອງການໃຫ້ເລືອກພາສາໃນແບບຟອມການລົງທະບຽນສະມາຊິກ?';
$txt['registration_language_template_field'] = 'ພາສາ';
$txt['registration_language_all_label'] = 'ພາສາ';
// Registration - Show Language mod
]]></add>
</operation>
</file>
is there anyway to force user to select the language otherwise the registration will fail.
nice work
Hello to everybody. I did a little addition to this great mod. I'm italian and my forum is in italian.
After installation of this mod, go to the subfolder Themes/default/languages in your SMF folder and edit the file Modifications.italian.php, adding the following code between <?php and ?>
// Registration - Show Language mod
$txt['registration_language_admin_field'] = 'Permetti la scelta della lingua in fase di registrazione?';
$txt['registration_language_template_field'] = 'Lingua';
$txt['registration_language_all_label'] = 'Lingua';
// Registration - Show Language mod
You can do the same for any other language, obviously the name of the file to edit will change and of course you have to translate some sentences in the code above to your language.
Hi,
I just installed this mod and it is not showing up when a user registers. Help please.
Thanks.
Gibs
Hi,
I just installed this mod and it is not showing up when a user registers. Help please.
Thanks.
Gibs
in SMF 2.0RC1-1 doesn't work :(