vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Translate Your Pages Via Google (https://vborg.vbsupport.ru/showthread.php?t=88508)

Kanustep 10-31-2006 12:39 PM

Hi ThomasR,

Thank you for you plug-in, I installed in 3.6.2 but don't know what to do to translate. Can you explain me better to a newbie :)

ThomasR 11-01-2006 08:23 AM

Just read the AN-net hack txt file of this thread. Only skip the template part related to phpinclude_start, which is in fact the plugin I provided.

After, you have to edit your footer template, and follow the AN-net instructions!

Mecho 11-10-2006 04:05 PM

Quote:

Originally Posted by ThomasR
Just read the AN-net hack txt file of this thread. Only skip the template part related to phpinclude_start, which is in fact the plugin I provided.

After, you have to edit your footer template, and follow the AN-net instructions!

Thanks a lot

Mecho 11-10-2006 04:21 PM

i think it would be great if we could do it by having the Countries Flags . so that user just click on Flag and .......... .
i was wondering if i make some flags what link shall i call for it ?

Thanks a lot

Kanustep 11-10-2006 09:37 PM

Thank you ThomasR

oberheimhaven 11-12-2006 10:10 PM

Quote:

Originally Posted by ThomasR (Post 1108089)
I add in attachment my plugin for Google. This is very simple, it comes from the babelfish translation hack if I remember.
It works under 3.6.1, I think it will work the same under 3.6.2

any for japan? from english to japan? Translation? Let me know thxs

nanaimobar 12-12-2006 02:25 PM

Quote:

Originally Posted by Mecho (Post 1114318)
i think it would be great if we could do it by having the Countries Flags . so that user just click on Flag and .......... .
i was wondering if i make some flags what link shall i call for it ?

Thanks a lot

I use Joomla and Google Translation for the home page on my site and have vBulletin linked from menu on main screen.

The translation program has flag buttons and will automatically translate Joomla and vBulletin pages IF visitor first selects language on the main home page.

To see how the translation works with vBulletin go to www.punzhu.com, select language, and click on third menu link titled "Free Magazines" to reach forum section of web site.

fishhub 12-29-2006 05:47 PM

can this be used for registered users to translate vb pages?

nanaimobar 12-29-2006 07:53 PM

Quote:

Originally Posted by fishhub (Post 1147054)
can this be used for registered users to translate vb pages?

I don't know, however this is what I've discovered so far...

In a round-a-bout way, I believe it could. First one has to register/login on forum board, then go to main page and select language, then return to forum. Yes, that is a non-elegant method.

I say "I believe" because I'm not familiar with all the workings of vBulletin and am not a coder. Only this month did I add the ability for members to join the forum - prior to that visitors could simply download the puzzles without registering.

When I login now and then do the above mentioned round-a-bout I get the following message: "In order to accept POST request originating from this domain, the admin must add this domain to the whitelist."

Whether that means I must add my forum login to the whitelist (whatever that is) or whether the message has something to do with google I haven't a clue. It may be a google translation issue.

My main site runs on Joomla but there is no registration required there, nor is there a login form displayed as they are not required for my purposes. There are "bridges" I understand that will link Joomla and vBulletin logins but I haven't tried them.

Bottom line; the translation works fine across Joomla and vBulletin when visitor not registered but I am not experienced enough to know how to correct "whitelist" issue with registered member and thus provide you a definitive answer. Perhaps someone else with more experience will answer your question.
PS: Happy New Year:)

oldfan 02-15-2007 06:50 PM

could someone help creating a vbadvanced module?

thnaks

TheWhite 02-16-2007 10:41 AM

phpinclude_start i cant find this?!? where am i suppose to look?

nanaimobar 04-25-2007 09:08 PM

I've managed to get google translation working on my vBulletin site. I placed the script in the welcome headers section for guests and in the log in section for members. It seems to work. Just place code where you want it in your forum and it translates all the pages.

Script I got from here and I modified it to work on my site by centering the script. The only other thing to do is point the script to the image ("Translate this page by google"), which you can get from the script site.

I'd love to use flags so if anyone knows how to modify the script to show flags instead of a drop-down menu (which is in English.), please post.

You can see the translation in action at my site here.

If the translation produces junk then post here for others to know.

NOTE: Translation button now centered in header section.


All times are GMT. The time now is 03:07 PM.

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.02155 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete