Kru
11-08-2006, 10:00 PM
Description:
Instantly translate all vb pages that include a footer.
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:
$vboptions[copyrighttext]
Add this below:
(replace http://www.yoursite.com (http://www.yoursite.com/) with your sites main url example http://www.cabalonline.com)
<div align="center">
<a href="javascript:window.location='http://www.yoursite.com (http://www.yoursite.com/)'" onmouseover="window.status='http://www.yoursite.com (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 (http://www.yoursite.com/)$translationurl" method="post">
<input type="hidden" name="u" value="http://www.yoursite.com (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>
If your asian translation shows strange characters go to AdminCP -> Languages & Phrases -> Language Manager -> Edit Settings -> HTML Character Set and change it to UTF-8
If you use this mod please click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=131145) - cheers!
Instantly translate all vb pages that include a footer.
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:
$vboptions[copyrighttext]
Add this below:
(replace http://www.yoursite.com (http://www.yoursite.com/) with your sites main url example http://www.cabalonline.com)
<div align="center">
<a href="javascript:window.location='http://www.yoursite.com (http://www.yoursite.com/)'" onmouseover="window.status='http://www.yoursite.com (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 (http://www.yoursite.com/)$translationurl" method="post">
<input type="hidden" name="u" value="http://www.yoursite.com (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>
If your asian translation shows strange characters go to AdminCP -> Languages & Phrases -> Language Manager -> Edit Settings -> HTML Character Set and change it to UTF-8
If you use this mod please click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=131145) - cheers!