[Product] هاك 14 لغه لمواضيع منتداك

ENG MUHAMED

[ADMIN]
طاقم الإدارة
25 فبراير 2008
10,080
42
48
support-ar.net
السلام عليكم
هاك يدعم 14 لغه مهم للمنتديات

translate_thread.gif



الهاك يدعم كل من اللغات التالية

ae.gif
Arabic
cn.gif
Chinese (simplified)
tw.gif
Chinese (traditional)
us.gif
English (This is merely a direct link to the Google Translator)
fr.gif
Français (French)
gr.gif
Greek
de.gif
Deutsch (German)
it.gif
Italiano
jp.gif
Japanese
kr.gif
Korean
pt.gif
Portuguese
ru.gif
Russian
es.gif
Español (Spanish)
nl.gif
Nederlands (Dutch)​

طريقه التركيب

من لوحه التحكم
البحث فى الاستايل
ونبحث عن قالب SHOWTHREAD
PHP:
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
 </td>
 </if>
اضف تحته

PHP:
<td class="vbmenu_control" id="languagemenu" nowrap="nowrap">
          <a href="$show[nojs_link]#goto_languagemenu">Language</a>
        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("languagemenu"); </script></if>
    </td>
وفى نفس القالب نبحث عن

PHP:
<script type="text/javascript">
    <!--
    vB_AJAX_ThreadRate_Init('showthread_threadrate_form');
    var threadid = $threadinfo[threadid];
    //-->
    </script>
</if>
PHP:
اضف تحته هذا الكود بعد ما تغير   YOURDOMAIN.NET
الى اسم موقع
PHP:
<!-- Language Translator Menu -->
 
<div class="vbmenu_popup" id="languagemenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">الترجمة</td></tr>
 
<!--Arabic-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinezl=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Car&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/ae.gif" alt="Arabic" width="15" height="10" border="0" /> <span title="Arabic">Arabic</span></a></td></tr>
 
 
<!--Chinese (Simplified)-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.net%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Czh-CN&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/cn.gif" alt="Chinese (Simplified)" width="15" height="10" border="0" /> <span title="Chinese (Simplified)">Chinese (s)</span></a></td></tr>
 
<!--Chinese (Traditional)-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.net%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Czh-TW&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/tw.gif" alt="Chinese (Traditional)" width="15" height="10" border="0" /> <span title="Chinese (Traditional)">Chinese (t)</span></a></td></tr>
 
<!--English-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://www.google.com/language_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=700,height=500')">
<img src="$stylevar[imgdir_button]/us.gif" alt="English" width="15" height="10" border="0" /> <span title="English">English</span></a></td></tr>
 
<!--French-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cfr&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/fr.gif" alt="French" width="15" height="10" border="0" /> <span title="French">Français</span></a></td></tr>
 
<!--German-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cde&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/de.gif" alt="German" width="15" height="10" border="0" /> <span title="German">Deutsch</span></a></td></tr>
 
<!--Greek-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cel&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/gr.gif" alt="Greek" width="15" height="10" border="0" /> <span title="Greek">Greek</span></a></td></tr>
 
<!--Italian-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cit&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/it.gif" alt="Italian" width="15" height="10" border="0" /> <span title="Italian">Italiano</span></a></td></tr>
 
<!--Japanese-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cja&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/jp.gif" alt="Japanese" width="15" height="10" border="0" /> <span title="Japanese">Japanese</span></a></td></tr>
 
<!--Korean-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cko&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/kr.gif" alt="Korean" width="15" height="10" border="0" /> <span title="Korean">Korean</span></a></td></tr>
 
<!--Portuguese-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cpt&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/pt.gif" alt="Portuguese" width="15" height="10" border="0" /> <span title="Portuguese">Portuguese</span></a></td></tr>
 
<!--Russian-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cru&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/ru.gif" alt="Russian" width="15" height="10" border="0" /> <span title="Russian">Russian</span></a></td></tr>
 
<!--Spanish-->
<tr><td class="vbmenu_option"><a href="#" onClick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Ces&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/es.gif" alt="Spanish" width="15" height="10" border="0" /> <span title="Spanish">Español</span></a></td></tr> 
 
<!-- Dutch -->
<tr><td class="vbmenu_option"><a href="#" onclick="Martinez1=window.open('http://translate.google.com/translate?u=http%3A%2F%2Fwww.YOURDOMAIN.NET%2Fshowthread.php%3Ft%3D$thread[threadid]&langpair=en%7Cnl&hl=en&newwindow=1&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=800,height=800')">
<img src="$stylevar[imgdir_button]/nl.gif" alt="Dutch" width="15" height="10" border="0" /> <span title="Dutch">Nederlands</span></a></td></tr>
</table></div>
 
 
<!-- / Language Translator Menu -->
وارفع الصور اللى فى المرفقات الى images/buttons/

والسلام



 

المرفقات

  • هاك الترجمه فى المواضيع .zip
    6.4 KB · المشاهدات: 167

العروة

عضو جديد
5 أبريل 2009
495
0
0
syria
www.saf2you.com
السلام عليكم ورحمة الله

قمت بتنزيل الهاك والكود ورفع الصور

ولكن لم أعرف كيف يعمل ومن أين أشغله ؟؟؟!!

حيث أنه لم يظهر أي تغيير في المنتدى

مع التحية