To translate "Last post", "Threads", "Posts", "Moderators" in the
vB4x XML:
In the template
Forum Display > forumhome_lastpostby
Find:
PHP Code:
<span style="white-space:nowrap"><strong>Last Post:</strong>
Replace with:
PHP Code:
<span style="white-space:nowrap"><strong>$vbphrase[last_post]:</strong>
In the template
Forum Display > forumhome_forumbit_level1_post
Find:
PHP Code:
<span style="float: right;">Threads: $forum[threadcount] Posts: $forum[replycount]
Replace with:
<span style="float: right;">$vbphrase[threads]: $forum[threadcount] $vbphrase[posts]: $forum[replycount]
In the template Forum Display > forumhome_forumbit_level2_post
Find:
PHP Code:
<span style="float: right;">Threads: $forum[threadcount] Posts: $forum[replycount] <br /><if condition="$vboptions['showmoderatorcolumn']">Moderators: $forum[moderators]</if></span>
Replace with:
PHP Code:
<span style="float: right;">$vbphrase[threads]: $forum[threadcount] $vbphrase[posts]: $forum[replycount] <br /><if condition="$vboptions['showmoderatorcolumn']">$vbphrase[moderators]: $forum[moderators]</if></span>
You may also want to replace "Choose Your Color" in the
header template and the phrases "Latest Threads" and "Navigation" in the
footer template of
BOTH vB3x and vB4x as well.
You can just write the text you want or replace with
$vbphrase[choose_color],
$vbphrase[latest_threads] and
$vbphrase[navigation] if you have more than 1 language in your forum. Of course, you need to create the phrases
choose_color,
latest_threads and
navigation in the GLOBAL language section of your vBulletin.
In the template
header:
Find:
PHP Code:
<td height="20">Choose Your Color </td>
Replace with:
PHP Code:
<td height="20">$vbphrase[choose_color] </td>
In the template
footer:
Find:
PHP Code:
<h4>Latest Threads</h4>
Replace with:
PHP Code:
<h4>$vbphrase[latest_threads]</h4>
Find:
PHP Code:
<h4>Navigation</h4>
Replace with:
PHP Code:
<h4>$vbphrase[navigation]</h4>
It's done