Hire us to design your site.
Jul
12
2011

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 :)
 
Example:
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″ –>
{lang:”custom”,”total_newmessages”}
 
open your lang.custom.php (/includes/languages/)
now you can make new lang strings so you can translate it.

“total_welcome” =>
“welcome”,
 
“total_newmessages” =>
“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 ;)
VldMods

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.

About VldMods

Welcome to vldMods here we will try to connect all free and pay mods for vldpersonals 2.5.3 and newer.

You can now translate VldMods in 50 different languages.

Translate a post then you Continue Reading »

Add your vldpersonals site here.

Sponsor/Donate to VldMods

I hope you like VldMods if you sponsor me I can make it even better ;) Thanks.

Find Us On Facebook

VldMods Newsletter

Subscribe to VldMods Newsletter a confirmation email will be sent to you!
This is a good way to be informed about our tutorials and news.

VldMods Polls

Do You Like My Site?