#basket
New messages Members Forum rules Search RSS
  • Page 1 of 1
  • 1
Translation of forum body (translation script)
UndisPutedDate: Thursday, 12.07.2012, 06:11 | Message # 1
Group: Verified
Posts: 245
Awards: 4
Status: Offline
Add this code intro "General appearance of forum pages"
Right after $BODY$ Remember to change on all that i have written "Your Language" Here is an example:

e[i].innerHTML=e[i].innerHTML.replace('All-time high attendance','Your Language');

You need to change all the words that i have market in Red as show abow.

Code
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='gTableBody1') {     
e[i].innerHTML=e[i].innerHTML.replace('All-time high attendance','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('reached on','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Total of','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('threads created','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('which have','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('replies','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('members registered','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Greetings to our new member','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('User','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Rank','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Group','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Messages','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Registration','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Input keyword or phrase to find.','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Enter username and select search options.','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Threads without updates for more than','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('closed threads only','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('All opened forums.....','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='threadsType') {     
e[i].innerHTML=e[i].innerHTML.replace('Sticky threads','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Forum threads','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='threadsDetails') {     
e[i].innerHTML=e[i].innerHTML.replace('This forum has','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('threads','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('threads displayed','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('found','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('on the page','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='forumOnlineBar') {     
e[i].innerHTML=e[i].innerHTML.replace('Forum is being viewed by :','Your Language :');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='pagesInfo') {     
e[i].innerHTML=e[i].innerHTML.replace('Page','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('of','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='fFastSearchTd') {     
e[i].innerHTML=e[i].innerHTML.replace('Search:','Your Language:');     
e[i].innerHTML=e[i].innerHTML.replace('keyword','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='gTableTop') {     
e[i].innerHTML=e[i].innerHTML.replace('Additional information','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Search','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Members List','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Forum rules','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('New Posts','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('New reply','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='gTableSubTop') {     
e[i].innerHTML=e[i].innerHTML.replace('Visitors','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('members','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('guests','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Forum statistics','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Forum','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Threads','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Replies','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Updates','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Views','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Thread starter','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Thread','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Users found','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Search what','Your Language?');     
e[i].innerHTML=e[i].innerHTML.replace('Search where','Your Language?');     
e[i].innerHTML=e[i].innerHTML.replace('Search posts by member','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Administrator options','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Happy Birthday!','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='legendTd') {     
e[i].innerHTML=e[i].innerHTML.replace('Normal thread (There are new message(s))','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Normal thread (No new messages)','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Hot thread (There are new message(s))','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Hot thread (No new messages)','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Closed thread (No new messages)','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Normal thread','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Thread - Poll','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Sticky thread','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Hot thread','Your Language');     
e[i].innerHTML=e[i].innerHTML.replace('Closed thread','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("DIV");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='funcBlock') {     
e[i].innerHTML=e[i].innerHTML.replace('Mark all messages as read','Your Language');     
}     
}     
</script>
<script>     
e=document.getElementsByTagName("TD");     
for(i=0;i<e.length;i++) {     
if(e[i].className=='threadLastPostTd') {     
e[i].innerHTML=e[i].innerHTML.replace('Message from','Your Language');     
}     
}     
</script>


 
  • Page 1 of 1
  • 1
Search: