Example:
you have something like this code:
and you will translate Welcome and You have 1 new message!
- Code: Select all
<br><font size=2> 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! )
- Code: Select all
<br><font size=2> {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.
- Code: Select all
"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 ;)