• 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 Appearance of entries movie site for uCoz (0)
type list Google preloader on pure CSS ucoz (0)
type list Pre-Loader for a site on pure CSS (Transition) ucoz (0)
type list Script to disable the F12 key and right-click ucoz (0)
type list Animated button for downloading using SVG and Vue UCOZ (0)
type list Top Forum Users ucoz (0)
type list Snow script for your website ucoz (0)
type list Original watch without digits ucoz (0)
type list Bookmark Buttons Generator (0)
type list Automatically add tags for all uCoz modules (6)
type list How to customize the design of the site for mobile version (3)
type list Video player for uCoz (3)
type list Auto Youtube Trailers for Ucoz Movies Web (0)
type list Pranešimai skrti jums yra matomi Tag Board Ucoz skriptas (1)
type list Why can’t I copy large files over 4GB to my USB flash drive (0)
type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
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 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 Apklausa Jūsų Svetainei New ucoz (10)
type list KinoPlius (9)
type list SexMergytes.do.am (9)
type list Money for the forum ucoz (9)
type list 11.17.2011 (9)
type list Puslapis "Atliekami techniniai darbai" Ucoz scriptas (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:
Samartinean
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
Азиза_Азизи
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
woscs1-6
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
Matruka
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
ArEzO
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
masterkmv74
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
bloody-warrior1
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
constantinm188
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
doctor_server
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
paynergroup
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:


Site design by uCozBaze
uCozBaze © 2011-2016