• Page 1 of 1
  • 1
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 1
  • 1
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list vartų automatika (0)
type list geriausi pirkiniai (0)
type list ekologiški, tvarūs daiktai kasdienai (0)
type list stovykla Lietuvoje (0)
type list namų apsauga (0)
type list šilumos siurblys oras vanduo (0)
type list powerbank išorinė baterija (0)
type list automobilių numelio rėmeliai (0)
type list pensijų pakopos (0)
type list šildymo sistemos (0)
type list dujinis katilas name (0)
type list karjeros testas (0)
type list drąskyklė katei (0)
type list šiluma namuose (0)
type list lietpaltis vaikui (0)
type list kur išmesti buitinę techniką? (0)
type list kūdikio miegas (0)

type list Skaiciuojam nuo 1 iki 1000 ! (558)
type list Forum SignatureBar (60)
type list Avatars (23)
type list Juokingos Fotkes :) (19)
type list Kaip pakeisti paveiksla mazas? (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 Apklausa Jūsų Svetainei New ucoz (11)
type list Ucoz script - favicon (11)
type list Megsti samp? Ateik cia (10)
type list Button scrolling up ucoz (10)
type list Slider KinoPlius Help to setup :) (10)
type list Money for the forum ucoz (9)
type list KinoPlius (9)
type list Puslapis "Atliekami techniniai darbai" Ucoz scriptas (9)
type list SexMergytes.do.am (9)
type list 11.17.2011 (9)
type list User personal Page ucoz (8)
interout
Forum Posts: 1027
Comments: 51
Reputation: 83
Rank:
GoblinaS
Forum Posts: 380
Comments: 15
Reputation: 25
Rank:
Adi
Forum Posts: 179
Comments: 11
Reputation: 23
Rank:
Esquire
Forum Posts: 147
Comments: 8
Reputation: 5
Rank:
BAtman
Forum Posts: 129
Comments: 1
Reputation: 18
Rank:
WaSHkaZ
Forum Posts: 83
Comments: 0
Reputation: 3
Rank:
Skacikas
Forum Posts: 71
Comments: 0
Reputation: 12
Rank:
meskis
Forum Posts: 51
Comments: 0
Reputation: 25
Rank:
Gytenas
Forum Posts: 51
Comments: 0
Reputation: 1
Rank:
vicka
Forum Posts: 50
Comments: 1
Reputation: 4
Rank:
jokerzvobscure
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
dubroviena008
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
w4bzero
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
infoebrasha
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
karilekamo
Forum Posts: 10
Comments: 0
Reputation: 0
Rank:
zoro
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
pebotapple
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
aressvi
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
eddison_martin3
Forum Posts: 2
Comments: 0
Reputation: 0
Rank:
mariuspijunas
Forum Posts: 20
Comments: 0
Reputation: 0
Rank:


Site design by uCozBaze
uCozBaze © 2011-2016