Hire us to design your site.

Translate to multiple languages

I had get this question a few times now I think it´s better I tell you about it here instead :)
you have something like this code:
and you will translate Welcome and You have 1 new message!

<br><font size=2>&nbsp;&nbsp;&nbsp;Welcome {session.username}.
<!– IF {session.newmessages} #==”1″ –>
You have 1 new message!
instead of words you must insert new lang strings code instead of:
( Welcome, You have 1 new message! )

<br><font size=2>&nbsp;&nbsp;&nbsp;{lang:”custom”,”total_welcome”} {session.username}.
<!– IF {session.newmessages} #==”1″ –>
open your lang.custom.php (/includes/languages/)
now you can make new lang strings so you can translate it.

“total_welcome” =>
“total_newmessages” =>
translate the word welcome and newmessages.
( and you must do this for all your languages !
I have total_ in this example but of course you can change the name to you own ;)

About the Author: gugu

Hey ... I´m the owner of this site ;) If you need help customize your vldpersonals site. Please ask me and I will try to help you. Enjoy reading !

Comments are closed.