How to change these signs in another language.
4 posters
Page 1 of 1
How to change these signs in another language.
How to change these signs in another language. phpBB2
Members connected during last 24 hours :
No users have a birthday today
Users with a birthday within the next 7 days:
Legend :
There are currently 0 user(s) on the ChatBox :
Members connected during last 24 hours :
No users have a birthday today
Users with a birthday within the next 7 days:
Legend :
There are currently 0 user(s) on the ChatBox :
Re: How to change these signs in another language.
Are they not changing to the language the forum is set to and the language set in your profile?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to change these signs in another language.
Some things are out of my language in my profile.I want to be on my tongue.
Green is my language. Red in English
Green is my language. Red in English
Re: How to change these signs in another language.
Well, some translations are not completely translated. It will have to be done on the database which we do not have access.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to change these signs in another language.
Well use the code with what yo want to change:
- Code:
$(function() {
var text = {
onLast : 'Members who visited today',
onNow : 'Users online right now '
};
var newTxt = $('#i_whosonline + p').html().replace(/Members connected during last 24 hours/,text["onLast"]).replace(/Registered Users/,text["onNow"]);
$('#i_whosonline + p').html(newTxt);
});
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to change these signs in another language.
My forum is Phpbb2 Theme which is a code in it for Phpbb3
Re: How to change these signs in another language.
Are you adding that as a JavaScript?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to change these signs in another language.
Does not work.
In all the pages
In all the pages
- Code:
$(function() {
var text = {
onLast : 'Members who visited today',
onNow : 'Users online right now '
};
var newTxt = $('#i_whosonline + p').html().replace(/Потребители през последните 24 часа/,text["onLast"]).replace(/Registered Users/,text["onNow"]);
$('#i_whosonline + p').html(newTxt);
});
Re: How to change these signs in another language.
Did you translate the whole code into Bulgarian?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to change these signs in another language.
This
I want this to change.
Members connected during last 24 hours :
No users have a birthday today
Users with a birthday within the next 7 days:
Legend :
There are currently 0 user(s) on the ChatBox :
- Code:
$(function() {
var text = {
onLast : 'Members who visited today',
onNow : 'Users online right now '
};
var newTxt = $('#i_whosonline + p').html().replace(/Потребители през последните 24 часа/,text["onLast"]).replace(/Регистрирани потребители/,text["onNow"]);
$('#i_Кои е онлайн + p').html(newTxt);
});
I want this to change.
Members connected during last 24 hours :
No users have a birthday today
Users with a birthday within the next 7 days:
Legend :
There are currently 0 user(s) on the ChatBox :
Re: How to change these signs in another language.
- Code:
jQuery(function() {
var x=document.getElementById('i_whosonline').nextSibling;
x.innerHTML = x.innerHTML.replace(/Members connected during last 24 hours :/g,"Членове, свързани през последните 24 часа:");
});
- Code:
jQuery(function() {
var x=document.getElementById('i_whosonline').nextSibling;
x.innerHTML = x.innerHTML.replace(/Users having a birthday today :/g,"Потребители, които имат рожден ден днес:");
});
Re: How to change these signs in another language.
Do you have other JavaScripts? If yes, it could be that some are interfering with each other.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to change these signs in another language.
I have other JavaScripts. If you want I can give you the codes to see what and help.
Re: How to change these signs in another language.
Remove all JavaScripts and add this one. If it works, then add the others back one by one.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to change these signs in another language.
I need a code to change these inscriptions.
No users have a birthday today
Users with a birthday within the next 7 days:
Legend : [ Администратор ] [ Модератор ] [ VIP ] [ Сървър Админ ] [ HL-Фен ] [ Нов ]
There are currently 0 user(s) on the ChatBox :
I only have these codes.
No users have a birthday today
Users with a birthday within the next 7 days:
Legend : [ Администратор ] [ Модератор ] [ VIP ] [ Сървър Админ ] [ HL-Фен ] [ Нов ]
There are currently 0 user(s) on the ChatBox :
I only have these codes.
- Code:
$(document).ready(function() {
// Index
document.getElementById('i_icon_mini_index').nextSibling.nodeValue='Форум';
// Portal
document.getElementById('i_icon_mini_portal').nextSibling.nodeValue='Сайт';
});
- Code:
$(function() {
replaceText('.postbody div', /\[You must be.*?to see this [A-Z]+.\]/ig, 'Трябва да си регистриран за да виждаш линковете..');
replaceText('.attachbox', /You don't have permission to download attachments./ig, 'Вие нямате права за сваляне !');
replaceText('.attachbox', /(\(\d+ [A-Z]+\)) Downloaded (\d+) times/ig, '$1 Свален $2 пъти.');
replaceText('.attachbox', /Attachments/g, 'Прикачени файлове.');
function replaceText(element, reg, rep){var el=$('.post '+element);for(i=0;i<el.length;i++)if(reg.test(el[i].innerHTML))el[i].innerHTML=el[i].innerHTML.replace(reg,rep)}
});
- Code:
$(function() {
$.getScript("http://perso.numericable.fr/antonywar/HA/chauve1.js");
});
$(function() {
$.getScript("http://sd-1.archive-host.com/membres/up/37821634957680146/toile_r.js");
});
Re: How to change these signs in another language.
This change in index_body This order {U_VIEWONLINE}.
Somebody help me what to change exactly?
Some of the team can you tell if it is possible this change.
Somebody help me what to change exactly?
Some of the team can you tell if it is possible this change.
Re: How to change these signs in another language.
Hello smurfavr,
Go to Administration Panel > Display > Templates > General > index_body
Find :
Replace by :
Save and publish.
Then go to Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the homepage
Paste the code below :
At the top there are variables to change the texts. You can edit them. ^^
Go to Administration Panel > Display > Templates > General > index_body
Find :
- Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="catHead" colspan="2" height="28">
<!-- BEGIN switch_viewonline_link -->
<span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<span class="cattitle">{L_WHO_IS_ONLINE}</span>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
{L_CONNECTED_MEMBERS}
{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}
<tr>
<td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
//<![CDATA[
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
Replace by :
- Code:
<!-- BEGIN disable_viewonline -->
<table id="whois_online" class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="catHead" colspan="2" height="28">
<!-- BEGIN switch_viewonline_link -->
<span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<span class="cattitle">{L_WHO_IS_ONLINE}</span>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
{L_CONNECTED_MEMBERS}
{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}
<tr>
<td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
//<![CDATA[
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
Save and publish.
Then go to Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the homepage
Paste the code below :
- Code:
$(function() {
var last24 = 'Members connected during last 24 hours : ',
nobday = 'No users have a birthday today',
bdaynext7 = 'Users with a birthday within the next 7 days:',
legend = 'Legend :',
inchat = 'There are currently 0 user(s) on the ChatBox :',
who = document.getElementById('whois_online');
who.innerHTML = who.innerHTML.replace('Members connected during last 24 hours :',last24).replace('No users have a birthday today',nobday).replace('Users with a birthday within the next 7 days: ',bdaynext7).replace('Legend : ',legend).replace('There are currently <strong>0</strong> user(s) on the ChatBox : ',inchat);
});
At the top there are variables to change the texts. You can edit them. ^^
Re: How to change these signs in another language.
I come to chat and this inscription was changed to English. There are currently 1 user(s) on the ChatBox
As a sign out of chat is as I want.
This label also changes to some English if today's birthday. Users having a birthday today
If no one has a birthday within the next 7 days this inscription also changed. Users with a birthday within the next 7 days
As a sign out of chat is as I want.
This label also changes to some English if today's birthday. Users having a birthday today
If no one has a birthday within the next 7 days this inscription also changed. Users with a birthday within the next 7 days
- Code:
$(function() {
var last24 = 'Потребители за последните 24 часа : ',
nobday = 'Няма потребители, които имат рожден ден днес',
bdaynext7 = 'Потребители с рожден ден през следващите 7 дни:',
legend = 'Легенда :',
inchat = 'В момента има 0 потребители в чата :',
who = document.getElementById('whois_online');
who.innerHTML = who.innerHTML.replace('Members connected during last 24 hours :',last24).replace('No users have a birthday today',nobday).replace('Users with a birthday within the next 7 days: ',bdaynext7).replace('Legend : ',legend).replace('There are currently <strong>0</strong> user(s) on the ChatBox : ',inchat);
});
Re: How to change these signs in another language.
Replace your script by :
I added these two :
and made some changes to the chatbox one.
- Code:
$(function() {
var last24 = 'Потребители за последните 24 часа : ',
nobday = 'Няма потребители, които имат рожден ден днес',
bdaytoday = 'Users having a birthday today',
nobdaynext7 = 'No users are having a birthday in the upcoming 7 days',
bdaynext7 = 'Потребители с рожден ден през следващите 7 дни:',
legend = 'Легенда :',
inchat = 'В момента има 0 потребители в чата :',
who = document.getElementById('whois_online');
who.innerHTML = who.innerHTML.replace('Members connected during last 24 hours :',last24).replace('No users have a birthday today',nobday).replace('Users having a birthday today',bdaytoday).replace('Users with a birthday within the next 7 days: ',bdaynext7).replace('No users are having a birthday in the upcoming 7 days',nobdaynext7).replace('Legend : ',legend).replace('There are currently <strong>\\d+</strong> user(s) on the ChatBox : ',inchat);
});
I added these two :
- Code:
bdaytoday = 'Users having a birthday today',
nobdaynext7 = 'No users are having a birthday in the upcoming 7 days',
and made some changes to the chatbox one.
Re: How to change these signs in another language.
Now only this inscription does not work. There are currently 0 user(s) on the ChatBox :
Displayed in English only.
Displayed in English only.
- Code:
$(function() {
var last24 = 'Потребители за последните 24 часа : ',
nobday = 'Няма рожденици днес: ',
bdaytoday = 'Потребители, които имат рожден ден днес : ',
nobdaynext7 = 'Няма рожденици през следващите 7 дни : ',
bdaynext7 = 'Рожденици през следващите 7 дни: ',
legend = 'Легенда :',
inchat = 'В момента има 0 потребители в чата :',
who = document.getElementById('whois_online');
who.innerHTML = who.innerHTML.replace('Members connected during last 24 hours :',last24).replace('No users have a birthday today',nobday).replace('Users having a birthday today',bdaytoday).replace('Users with a birthday within the next 7 days: ',bdaynext7).replace('No users are having a birthday in the upcoming 7 days',nobdaynext7).replace('Legend : ',legend).replace('There are currently <strong>\\d+</strong> user(s) on the ChatBox : ',inchat);
});
Re: How to change these signs in another language.
Okay, try now :
- Code:
$(function() {
var last24 = 'Потребители за последните 24 часа : ',
nobday = 'Няма рожденици днес: ',
bdaytoday = 'Потребители, които имат рожден ден днес : ',
nobdaynext7 = 'Няма рожденици през следващите 7 дни : ',
bdaynext7 = 'Рожденици през следващите 7 дни: ',
legend = 'Легенда :',
inchat = 'В момента има $1 потребители в чата :',
who = document.getElementById('whois_online');
who.innerHTML = who.innerHTML.replace('Members connected during last 24 hours :',last24).replace('No users have a birthday today',nobday).replace('Users having a birthday today',bdaytoday).replace('Users with a birthday within the next 7 days: ',bdaynext7).replace('No users are having a birthday in the upcoming 7 days',nobdaynext7).replace('Legend : ',legend).replace(/There are currently (<strong>\d+<\/strong>) user\(s\) on the ChatBox : /,inchat);
});
Re: How to change these signs in another language.
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» How to translate these signs in another language.
» how to change language?
» Language won't change
» Need help with language change in navbar
» Forum language won't change
» how to change language?
» Language won't change
» Need help with language change in navbar
» Forum language won't change
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum