Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Translate Your Forum Pages Details »»
Translate Your Forum Pages
Version: 1.02, by Kru Kru is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-11-2006 Last Update: 03-12-2006 Installs: 31
Uses Plugins Template Edits
 
No support by the author.

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]
Add this below:
(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>
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

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-12-2006, 04:55 PM
hiiped hiiped is offline
 
Join Date: Jan 2006
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice...
Reply With Quote
  #23  
Old 03-12-2006, 05:58 PM
wrang wrang is offline
 
Join Date: Oct 2004
Location: Sweden
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You forgot English -> Swedish !

edit: I now see that babelfish dosent support swedish translate :down:
Reply With Quote
  #24  
Old 03-12-2006, 06:15 PM
titodj titodj is offline
 
Join Date: Dec 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kru
mmmh add that variable: $translationurl = $_SERVER['REQUEST_URL']; to the "Portal Output Global Variables" list in the CMPS AdminCP and tell me if it works, please.
I have added the variable to the CMPS and does not work....
The forum language is spanish...
http://voyazteca.com
Reply With Quote
  #25  
Old 03-12-2006, 06:32 PM
Baris Onat Baris Onat is offline
 
Join Date: Jan 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very god thank you
Reply With Quote
  #26  
Old 03-12-2006, 09:40 PM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm....

installed successfully, but not working. It doesn't do anything.

whenever I choose to translate a page (eg: English to Korean) it just goes to the forum index page.
Reply With Quote
  #27  
Old 03-12-2006, 10:45 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a bunch

http://forum.ragezone.com/
Reply With Quote
  #28  
Old 03-13-2006, 03:48 AM
Kru's Avatar
Kru Kru is offline
 
Join Date: Nov 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrendelKhan{TSU
hmm....

installed successfully, but not working. It doesn't do anything.

whenever I choose to translate a page (eg: English to Korean) it just goes to the forum index page.
It might is a style problem. Place the code on a different location of your footer template e.g. at the beginning or end.
Reply With Quote
  #29  
Old 03-13-2006, 10:50 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kru
It might is a style problem. Place the code on a different location of your footer template e.g. at the beginning or end.
hmm. I tried different areas...

but I got weird effects.

--I got massive set of broken characters, all asian translations (althought I know I have the correct character sets install on my computer)...
--and it me LOGGED OUT when it translated.

also suggestion:
--need a way to "go back to default" or whatever. the only way it seems to get back to "normal" is actually close and reopen the browser.
Reply With Quote
  #30  
Old 03-13-2006, 11:39 AM
Kru's Avatar
Kru Kru is offline
 
Join Date: Nov 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrendelKhan{TSU
hmm. I tried different areas...

but I got weird effects.

--I got massive set of broken characters, all asian translations (althought I know I have the correct character sets install on my computer)...
Yes, I noticed that asian characters don't show correctly in the output of babelfish. I will look if I find a way to fix it. Well just can do it, if it isnt a bug of babelfish

Quote:
Originally Posted by GrendelKhan{TSU
--and it me LOGGED OUT when it translated.
This I already answered earlier: You just can see the translated page as a guest because the result shows up on the altavista page.

Quote:
Originally Posted by GrendelKhan{TSU
also suggestion:
--need a way to "go back to default" or whatever. the only way it seems to get back to "normal" is actually close and reopen the browser.
Will figure something out to make this possible.
Reply With Quote
  #31  
Old 03-13-2006, 02:17 PM
Kru's Avatar
Kru Kru is offline
 
Join Date: Nov 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated!!! Look at new features and changes above.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05797 seconds
  • Memory Usage 2,319KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete