Translation of forum body (translation script) - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Forum » Translation of forum body (translation script)
Translation of forum body (translation script)
marciusDate: Tuesday, 2012-08-21, 11:05 AM | Message # 1
Group: UcozBaze Team
Messages: 19
0
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.innerHTML=e.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>


Hala madrid!

Message edited by marcius - Tuesday, 2012-08-21, 11:06 AM
 
MessageAdd 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.innerHTML=e.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>

Author - marcius
Date Added - 2012-08-21 в 11:05 AM
Ed05Date: Wednesday, 2014-12-17, 8:34 PM | Message # 2
Group: UcozBaze Team
Messages: 7
0
applause
 
Messageapplause

Author - Ed05
Date Added - 2014-12-17 в 8:34 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Forum » Translation of forum body (translation script)
Page 1 of 11
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)
type list The script for the output of a random video from Youtube (0)
type list The script updates the block comment without refreshing the (0)
type list Information about your browser for uCoz (0)
type list Kaip isideti Forum Online/Offline Image Ucoz ? (4)
type list Highlight the code in one click (0)
type list The original form of statistics for uCoz (0)
type list The ban on the entry of certain characters in the Input (0)
type list Clock for site ucoz (0)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Kaip pakeisti paveiksla mazas? (19)
type list Juokingos Fotkes :) (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Button scrolling up ucoz (10)

interout
GoblinaS
Adi
Esquire
BAtman
WaSHkaZ
Skacikas
meskis
Gytenas
vicka

AnelsoNN
nemanjababin
defaultNick0568
mechoochite
mdcurren
yastreb
lad0s™
Lapuxa
th3kizaka
projektas420


Site design by uCozBaze
uCozBaze © 2011-2016