Warning: The author of this contribution does not provide support for it anymore.

ACP Add User MOD

Language: Swedish/Svenska - ACP Add User MOD

Language: Swedish/Svenska

by fnadde42 » Tue Jun 15, 2010 11:36 am

I have translated this mod to swedish because I'm tired seeing that allmost every filed in this mod in UNDEFINDED. I made a translation this morning and it may not be a professional translation but I did my best.

NOTE:
To use swedish: (First of all; download the swedish language-pack and install it) Download the file I have attached in this post and put it in:

Code: Select all

 root/language/sv/mods 

It's highly recommended that you install both english and swedish.

Trouble Shooting:

Q: When I create a user and send login details, the email comes with no password. What shall I do?
A: Apparently, in the swedish translation they have forgotten the {PASSWORD} filed or something so you could manually insert it into the file

Here is how the english looks like:

Code: Select all

Subject: Welcome to "{SITENAME}"

{WELCOME_MSG}

Please keep this e-mail for your records. Your account information is as follows:

----------------------------
Username: {USERNAME}
Password: {PASSWORD}

Board URL: {U_BOARD}
----------------------------

Please do not forget your password as it has been encrypted in our database and we cannot retrieve it for you. However, should you forget your password you can request a new one which will be activated in the same way as this account.

Thank you for registering.

{EMAIL_SIG}

and this is how the swedish looks like (originally):

Code: Select all

Subject: Välkommen till "{SITENAME}"

{WELCOME_MSG}

Spara detta e-postmeddelande för framtida bruk. Dina kontouppgifter:

----------------------------
Användarnamn: {USERNAME}
Forumadress: {U_BOARD}
----------------------------

Ditt lösenord har krypteras i vår databas och kan inte hämtas därifrån av oss. Om du glömmer ditt lösenord så kan du nollställa det och begära ett nytt till e-postadressen, som hör ihop med ditt konto.

Tack för att du registrerade dig.

{EMAIL_SIG}

You can see that the swedish translation haven't got a {PASSWORD}-filed. You can insert it so it maybe look like this:

Code: Select all

Subject: Välkommen till "{SITENAME}"

{WELCOME_MSG}

Spara detta e-postmeddelande för framtida bruk. Dina kontouppgifter:

----------------------------
Användarnamn: {USERNAME}
Lösenord: {PASSWORD}

Forumadress: {U_BOARD}
----------------------------

Ditt lösenord har krypteras i vår databas och kan inte hämtas därifrån av oss. Om du glömmer ditt lösenord så kan du nollställa det och begära ett nytt till e-postadressen, som hör ihop med ditt konto.

Tack för att du registrerade dig.

{EMAIL_SIG}


Now copy this code above and go to

Code: Select all

root/language/sv/email/user_welcome.txt
and replace the text in the file.

And Voila! The swedish users you add from this mod will get a password too!
Attachments
info_acp_add_user_mod.php.zip
Swedish/Svenska
(2.14 KiB) Downloaded 303 times
fnadde42
Registered User
Posts: 2
Joined: Tue Jun 15, 2010 10:49 am

Re: Language: Swedish/Svenska

by svalle » Sun Mar 18, 2012 11:07 am

I installed the english version, ran it, found welcome file missing in swedish, copied from english, translated and all worked fine.
Could have saved some time reading this subject first but it was an easy fix :)
svalle
Registered User
Posts: 2
Joined: Thu Jan 15, 2009 6:56 pm