Advertisement:

Author Topic: Language in registration  (Read 23151 times)

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Language in registration
« on: April 09, 2007, 05:26:16 PM »
Link to Mod

This mod adds a mod that it allows to choose the language on registration.


 

Offline SacmaliK

  • Full Member
  • ***
  • Posts: 644
  • Gender: Male
  • Türk Evladı Uyuma Uyan 30 Kupona Alınmadı Bu Vatan
    • Ocak Turk
Re: Language in registration
« Reply #1 on: April 09, 2007, 05:52:54 PM »
thanks ;)
My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

Faber73

  • Guest
Re: Language in registration
« Reply #2 on: April 09, 2007, 07:03:07 PM »
Cool, thank you  :D

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,077
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Language in registration
« Reply #3 on: April 09, 2007, 09:21:00 PM »
If i decide to use this mod....do i have to update my language files?      Cuz they're outta date.

Offline pomak

  • Semi-Newbie
  • *
  • Posts: 14
Re: Language in registration
« Reply #4 on: April 10, 2007, 04:56:10 AM »
install Error/Tovaria greshki

!!Paket Yüklenirken Hata Oluştu

Paket yüklenirken en az bir hata oluştu. Eğer ne yaptığınızı bilmiyorsanız yükleme işlemine devam etmemeniz şiddetle önerilir. Bu hatanın nedeni yüklemek istediğiniz paketin forum'unuzda yüklü olan başka bir paketle çakışması, paketteki bir hata, paketin sorunsuz çalışması için sizde yüklü olmayan başka bir pakete ihtiyaç duyması veya paketin SMF'nin farklı bir sürümü için dizayn edilmiş olması olabilir.

i dont know the reason of this error. Could you help me?
Hatanin neden bilmiyorum. Turkce fazla iyi degil.  Yardim edebirmisiniz?
Neznam no ima greshki vav tovaria. Bihteli me pomaga?
« Last Edit: April 10, 2007, 04:59:11 AM by pomak »

Offline KGIII

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,293
  • Gender: Male
  • If you can build it, I can wreck it.
    • Web Hosting
Re: Language in registration
« Reply #5 on: April 10, 2007, 05:24:30 AM »
install Error/Tovaria greshki

!!Paket Yüklenirken Hata Oluştu

Please TRY to stick to the English language in all but the language specific forums. Thanks. :)
My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Offline pomak

  • Semi-Newbie
  • *
  • Posts: 14
Re: Language in registration
« Reply #6 on: April 10, 2007, 06:04:15 AM »
This is the problem. And i cant solve the problem so i need help for this operation


!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
 


Install Actions
Installations actions for "Lenguaje en el registro":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification Install.mod Modification parse error
 

Offline KGIII

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,293
  • Gender: Male
  • If you can build it, I can wreck it.
    • Web Hosting
Re: Language in registration
« Reply #7 on: April 10, 2007, 06:09:05 AM »
Are you using UTF-8 perhaps? If so search for a user with the name of Metallica48423 and see their posts. They are our official language error guru even if they deny it. ;)
My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #8 on: April 10, 2007, 12:57:15 PM »
Blue devil --> No, No update..... ;)

Offline hobox

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Language in registration
« Reply #9 on: April 14, 2007, 08:33:34 AM »
When I tried to Install this I got reports that these files don't exist.
./Themes/default/languages/index.spanish.php     
./Themes/default/languages/index.turkish.php

I use swedish-utf8 so can I safely install this mod and what changes are necessary in the index.language.php files?

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #10 on: April 14, 2007, 09:15:48 AM »
Ok now modified: wait a moment

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #11 on: April 14, 2007, 09:19:11 AM »
Ok i finished,  ;) I adjunted the MOD

Offline edi67

  • SMF Hero
  • ******
  • Posts: 1,532
  • Gender: Male
  • Italian Supporter
    • CrazyZone
Re: Language in registration
« Reply #12 on: April 15, 2007, 06:15:04 PM »
excellent mod

one question , my forum is multilanguage but the language of default is italian, there is the way for have as default in selection of language , the italian and not the english as i have now?

thx
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #13 on: April 17, 2007, 01:04:15 PM »
That you want? That alone could choose the Italian one?

Offline edi67

  • SMF Hero
  • ******
  • Posts: 1,532
  • Gender: Male
  • Italian Supporter
    • CrazyZone
Re: Language in registration
« Reply #14 on: April 20, 2007, 05:46:19 PM »
That you want? That alone could choose the Italian one?

No i want only that that 1° default choice is italian ( after english, spanish french ecc ), now installing your mod i have english as 1° choice of default and after the other ( english, spanish , french ecc.)
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Offline Kettu

  • Sr. Member
  • ****
  • Posts: 711
  • Gender: Female
Re: Language in registration
« Reply #15 on: April 23, 2007, 06:21:15 AM »
Why do you replace something with the completely same?

Code: [Select]
<edit file>
$themedir/Register.template.php
</edit file>

<search for>
<td width="40%">
<b>', $txt[82], ':</b>
</td>
<td>
<input type="password" name="passwrd2" size="30" tabindex="', $context['tabindex']++, '" />
</td>
</tr>';
</search for>

<replace>
<td width="40%">
<b>', $txt[82], ':</b>
</td>
<td>
<input type="password" name="passwrd2" size="30" tabindex="', $context['tabindex']++, '" />
</td>
</tr>
</replace>
there is no difference. 8)
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #16 on: April 23, 2007, 12:39:58 PM »
First have a '; and second quited the '; In order that it works, if not it does not work.  ;)

Offline Kettu

  • Sr. Member
  • ****
  • Posts: 711
  • Gender: Female
Re: Language in registration
« Reply #17 on: April 23, 2007, 12:41:21 PM »
First have a '; and second quited the '; In order that it works, if not it does not work.  ;)
Ah, now I see :D
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6


Offline Klozi

  • Full Member
  • ***
  • Posts: 478
  • Gender: Male
  • 1st Multinational Music
    • youpromi on Facebook
    • @youpromi_com on Twitter
    • YouPromi Entertainment
Re: Language in registration
« Reply #19 on: June 20, 2007, 04:33:49 PM »
That you want? That alone could choose the Italian one?

No i want only that that 1° default choice is italian ( after english, spanish french ecc ), now installing your mod i have english as 1° choice of default and after the other ( english, spanish , french ecc.)

I want the same, too. Or is there any other way to control the order of the list?
YouPromi Entertainment

Offline lonrot

  • Jr. Member
  • **
  • Posts: 334
Re: Language in registration
« Reply #20 on: June 27, 2007, 04:32:27 PM »
Same here, I have english as default but this mods changes the order and now German appears as first on the list :S

Offline lonrot

  • Jr. Member
  • **
  • Posts: 334
Re: Language in registration
« Reply #21 on: June 27, 2007, 04:48:02 PM »
And it seems this MOD doesn't work with SMF 1.3 :(

Offline lonrot

  • Jr. Member
  • **
  • Posts: 334
Re: Language in registration
« Reply #22 on: June 27, 2007, 04:52:50 PM »
Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

This sucks man, does anybody knows the codes so I can do it manually?

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #23 on: June 28, 2007, 06:21:56 AM »
Lonrot mirate este manual ...

http://www.simplemachines.org/community/index.php?topic=178644.0

Tenes que hacer lo del package-info ... Lo de install for: 1.1.3 , unnistall for , 1.1.3 ...

pd : Speaking spanish becose lonrot is spanish and i speaking spanish more ...

Regards,
Edurg .

Offline lonrot

  • Jr. Member
  • **
  • Posts: 334
Re: Language in registration
« Reply #24 on: June 28, 2007, 03:55:41 PM »
Gracias Edurg, acerca del orden del los lenguajes, ya muchos lo han comentado aqui, no se trata del orden de instalacion de los lenguajes, yo mismo he instalado varios idiomas despues del aleman y aleman siempre sigue siendo el primero en la lista.

Si vos pudieses editar el mod para que cada quien organizace el orden de la lista segun la conveniencia seria genial.

Saludos.

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #25 on: June 29, 2007, 07:09:07 AM »
Vale lo intentare  ;)

Offline lonrot

  • Jr. Member
  • **
  • Posts: 334
Re: Language in registration
« Reply #26 on: July 24, 2007, 10:38:28 PM »
Algun avance Edurg?

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #27 on: July 26, 2007, 05:43:37 AM »
Mira si quieres puedo hacerte un mod solo para ti tu me dices los idiomas que quieres y el orden y ya esta ok??

Agregame a deportista_edu@hotmail.com .

Offline rodrigosoares

  • Newbie
  • *
  • Posts: 4
Re: Language in registration
« Reply #28 on: July 26, 2007, 08:26:12 AM »
Edurg,

I tried to install your mod, but the [apply mod] button for this mod doesn´t appear in my package manager, it only appear [list files] and [delete].

Do you have any idea why this is happening ?

I am using SMF 1.1.3

PS. I am not having any problem to install other mods.

[/list]
« Last Edit: July 28, 2007, 06:56:17 AM by rodrigosoares »


Offline dxyy

  • Full Member
  • ***
  • Posts: 483
  • In China, nothing surprises me anymore
    • Resident Alien - a blog about my life in China
Re: Language in registration
« Reply #30 on: August 15, 2007, 01:55:07 PM »
I have downloaded and installed this mod on my test forum. It looks good, even though I got some error messages about a Turkish and Spanish file. I guessed that those wouldn't matter as my forum only uses English and Chinese.

Thanks for the great mod, but I have the same question as a few other people; is there a way to change the order of the languages on the registration screen?

For example, currently when someone goes to register if they don't change anything the forum will be set to Chinese as that is at the top of the drop-down box by default. I would really prefer to have English that is actually the primary language of the forum.

Any assistance that anyone can provide with this would be much appreciated.

Thanks! :)

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #31 on: August 16, 2007, 05:50:13 AM »
ok, it will try it  ;)

Offline dxyy

  • Full Member
  • ***
  • Posts: 483
  • In China, nothing surprises me anymore
    • Resident Alien - a blog about my life in China
Re: Language in registration
« Reply #32 on: August 16, 2007, 09:20:34 AM »
ok, it will try it  ;)
Ok, great, please let us know if you find a way for us to change the language order.

Thanks! :)

Offline Edurg

  • Jr. Member
  • **
  • Posts: 264
    • SOLOTEMAZOS
Re: Language in registration
« Reply #33 on: August 25, 2007, 05:10:49 PM »
The package of the languages by lonrot (Language order):

1    English         
2    Chinese   
3    Spanish   
4    Japanese   
5    German   
6    French   
7    Korean
8    Italian   
9    Portuguese   
10    Russian   
11    Malay   
12    Dutch   
13    Arabic   
14    Polish   
15    Swedish


Download of attachment.

Offline lonrot

  • Jr. Member
  • **
  • Posts: 334
Re: Language in registration
« Reply #34 on: August 25, 2007, 05:30:33 PM »
Well I just asked Edurg the order in which the languages would be listed, this order is based on Wikipedias's Global internet usage:
http://en.wikipedia.org/wiki/Global_internet_usage

So the registration will be defined by the language priorities, I think is the best deal for a multi language sites like mine. And mostly for everyone. The package wasn't made by me, I simply requested the above order and Edurg made it, :D

Offline dxyy

  • Full Member
  • ***
  • Posts: 483
  • In China, nothing surprises me anymore
    • Resident Alien - a blog about my life in China
Re: Language in registration
« Reply #35 on: August 25, 2007, 05:59:50 PM »
Thanks for the updated package! :)

janilxx

  • Guest
Re: Language in registration
« Reply #36 on: December 17, 2007, 02:09:59 PM »
Thanks for the great mod, but I have the same question as a few other people; is there a way to change the order of the languages on the registration screen?

For example, currently when someone goes to register if they don't change anything the forum will be set to Chinese as that is at the top of the drop-down box by default. I would really prefer to have English that is actually the primary language of the forum.

Any assistance that anyone can provide with this would be much appreciated.

I also wanted to select forum's default language by default in language dropdown box.
I changed the mod so that this:
Code: [Select]
<edit file>
$themedir/Register.template.php
</edit file>

<search for>
if ($context['visual_verification'])
{
echo '
<tr valign="top">
</search for>

<add before>

<td width="40%">
<b>', $txt[1000], ':</b>
                  </td>
                  <td>
<select name="lngfile">';

                            foreach($context['languages'] as $language)
                            {
         echo '
               <option value="', $language['filename'], '">', $language['name'], '</option>';
         echo '>', $language['name'], '</option>';
                            }

         echo '</select>
                  </td>
               </tr>';
</add before>

was replaced by this:
(search if ($language['selected']=="1")" )
Code: [Select]
<edit file>
$themedir/Register.template.php
</edit file>

<search for>
if ($context['visual_verification'])
{
echo '
<tr valign="top">
</search for>

<add before>

<td width="40%">
<b>', $txt[1000], ':</b>
                  </td>
                  <td>
<select name="lngfile">';

                            foreach($context['languages'] as $language)
                            {
         echo '
               <option value="', $language['filename'], '"';
         if ($language['selected']=="1")
         {
            echo ' selected="selected"';
         }
         echo '>', $language['name'], '</option>';
                            }

         echo '</select>
                  </td>
               </tr>';
</add before>


This works nicely at least in my forums where is English and Finnish languages in use.

Feel free to add this to the mod.


If you want to add support for Finnish language, add also this:
<edit file>
$languagedir/index.finnish.php
</edit file>

<search for>
$txt[151] = 'Ei viestej&#228;...';
</search for>

<add before>
$txt[1000] = 'Valitse kieli / Select language';
</add before>

Offline -=[Vyorel]=-

  • Sr. Member
  • ****
  • Posts: 744
  • Gender: Male
  • Web Hoster
    • RomanianPowerHosting on Facebook
    • RO Power Hosting
Re: Language in registration
« Reply #37 on: August 15, 2010, 06:49:42 PM »
For SMF 2.0 RC3 or SMF 1.1.11 ?
« Last Edit: August 20, 2010, 05:54:59 PM by -=[Vyorel]=- »
My mods for SMF - [6].

Offline jordumus

  • Semi-Newbie
  • *
  • Posts: 14
Re: Language in registration
« Reply #38 on: August 20, 2010, 05:10:02 PM »
same: 2.0 RC3 here..

Offline musicus

  • Jr. Member
  • **
  • Posts: 179
  • Gender: Male
    • @net_mu on Twitter
    • Mucic for open ears
Re: Language in registration
« Reply #39 on: January 05, 2013, 07:22:36 PM »
I need this Addon for SMF 2.03