The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Translate Your Forum Pages Details »» | |||||||||||||||||||||||||
Description:
Instantly translate all vb pages that include a footer. e.g. http://forums.lom3.com/ To Install: Just upload the xml file as a plugin from within AdminCP> PluginSystem>ManageProducts> Download / Upload Plugins After it open your footer template and find: Code:
$vboptions[copyrighttext] (replace http://www.yoursite.com with your sites main url example http://www.rpg-centre.com) Code:
<div align="center"> <a href="javascript:window.location='http://www.yoursite.com'" onmouseover="window.status='http://www.yoursite.com'; return true" onmouseout="window.status=' '; return true" target="_top">Default language</a> <br /> <form action="http://babelfish.altavista.com/babelfish/urltrurl?url=http://www.yoursite.com$translationurl" method="post"> <input type="hidden" name="u" value="http://www.yoursite.com$translationurl" /> <select name="lp" onchange="this.form.submit();"> <option value="">Select from and to languages</option> <option value="zh_en">Chinese-simp to English</option> <option value="zt_en">Chinese-trad to English</option> <option value="en_zh">English to Chinese-simp</option> <option value="en_zt">English to Chinese-trad</option> <option value="en_nl">English to Dutch</option> <option value="en_fr">English to French</option> <option value="en_de">English to German</option> <option value="en_el">English to Greek</option> <option value="en_it">English to Italian</option> <option value="en_ja">English to Japanese</option> <option value="en_ko">English to Korean</option> <option value="en_pt">English to Portuguese</option> <option value="en_ru">English to Russian</option> <option value="en_es">English to Spanish</option> <option value="nl_en">Dutch to English</option> <option value="nl_fr">Dutch to French</option> <option value="fr_en">French to English</option> <option value="fr_de">French to German</option> <option value="fr_el">French to Greek</option> <option value="fr_it">French to Italian</option> <option value="fr_pt">French to Portuguese</option> <option value="fr_nl">French to Dutch</option> <option value="fr_es">French to Spanish</option> <option value="de_en">German to English</option> <option value="de_fr">German to French</option> <option value="el_en">Greek to English</option> <option value="el_fr">Greek to French</option> <option value="it_en">Italian to English</option> <option value="it_fr">Italian to French</option> <option value="ja_en">Japanese to English</option> <option value="ko_en">Korean to English</option> <option value="pt_en">Portuguese to English</option> <option value="pt_fr">Portuguese to French</option> <option value="ru_en">Russian to English</option> <option value="es_en">Spanish to English</option> <option value="es_fr">Spanish to French</option> </select> </form> </div> 1.0.0 Initial Release 1.0.1 Fixed a typo and a problem with the url 1.0.2 Added a javascript link which allows to get back to "Default language" Updated the product file. Now, when you click the translation link from either pages, it will get the proper variables and don't return back to the index page. How to Upgrade? To upgrade from previous versions delete the old plugin and install the new one. Replace the previous translation code with the new code above in your footer template. If you use this mod please click Install - cheers! Show Your Support
|
Comments |
#12
|
|||
|
|||
This is very nice, but i have a question...
Does this adds stress to the server? Regards... |
#13
|
||||
|
||||
Quote:
|
#14
|
||||
|
||||
Quote:
|
#15
|
||||
|
||||
ok ive tried in different places in my footer template,so i placed it at the beginning of the footer template and now i get this error,and its on all translations,and i tried it with both browsers IE and Firefox both same error
---------------------------------------------------------------------------- AltaVista Home › Tools › Babel Fish Translation › Translation Error HTTP request failed with status code: 404 for URL: http://www.sats-general.com/forum/forum/index.php We're sorry we've encountered an error with your request. If you think this is a bug we should know about send us e-mail and let us know the following: * What browser you were using. * The operating system you are on. * The type of translation you were trying when this error occurred. The error encountered is: 149 Business Services Submit a Site About AltaVista Privacy Policy Help ? 2004 Overture Services, Inc. |
#16
|
||||
|
||||
Quote:
forum is doubled there. did you insert the new code that i updated today? |
#17
|
||||
|
||||
ok i checked the product this is what it read
$translationurl = $_SERVER['REQUEST_URI']; i changed the "URI" to "URL" and it seems to translate ok now $translationurl = $_SERVER['REQUEST_URL']; the only problem is when it translates to new language,it logs me out of the forum,and i cant log back in,maybe i have to translate my username and password as well to log in with the different language |
#18
|
||||
|
||||
ah ty for showing the typo. I fixed it and uploaded the new procuct file.
You just can see the translated page as a guest because the result shows up on the altavista page. |
#19
|
|||
|
|||
For VBadvaced nothing???
I have vbadvanced and NOT translate |
#20
|
||||
|
||||
Quote:
|
#21
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|