![]() |
Forum Translator by Google
1 Attachment(s)
I'm not sure if anyone else has posted this, if so I apologize. I did find some other earlier versions of mods to use Google Translate, but could not find one similar and as simple to use as this.
In the footer template, find the first instance of: Code:
</form> Code:
<!-- Translate vBulletin --> It's so simple I think this would work on any version of vB. :) |
Any screenshot's mate?
|
Live example, check footer: http://forums.cpanel.net/
|
installed
Nominated rated.. very nice mod |
thanks HIPPY for directing me here , lol . to think i was just looking for something like this the other day on a site you have to pay for it. this is an amazing add on . GREAT JOB voted/installed/nominated.. remind me to get you a call girl.
|
Quote:
|
Installed for testing with thanks ... :)
Amazingly simple and effective ... :up: Regards, Doug |
Does this add any strain to the server load??
|
The only thing it might do is slow page load on a slow computer while the tool code is loaded from the google server, not yours.
Make your own depending on your needs. :) http://translate.google.com/translate_tools |
brilliant thanks!
|
Thanks allot for this :)
|
this messes with the thread titles when u go to edit them
seems to add code |
In my tests this had no effect on text areas whatsoever while editing.
|
Quote:
Regards, Doug |
This is great! However, how do you make it so that you only have 2 or 3 languages that it will translate? Is there a way to do it?
IE: English forum Translated into French and Spanish. |
Quote:
Quote:
no issues with anything .. |
Ok, finished some testing ... :)
Great idea and adds a lot of value to users where the forum isn't in their native language, but for whatever reason, on our site it has a load penalty of between 3-4 seconds on home page, as an example. If I remove this Google script, it speeds up etc ... Although I don't have the skill, I think if this was a mod where the default language could be user selectable from a specific link and then when it went to that page, it only loaded the Google code then, it might be a compromise. As is, I have to remove it from the footer as the drag on ALL individual page loading is too high... Thanks anyway.. interesting mod .. :) Regards, Doug |
I did not test on a forum with as many cats as yours with googleads, groupon ads, livesupport, some sort of profilehover js and whatever else you've got going on there, which appears to be quite a bit.
Indeed, this may not be for everyone. ;) You can surely wrap this with if tags of some sort and only show it on certain forums. Or, set it as I have on my test forum to only show for guests. GL! |
Using Firefox is anyone getting a constant "transferring data from translate.googleapis.com" in the status bar?!?!
Doesn't seem to do it on Chrome or IE? |
Quote:
The conditional we'd love to test for is one where the incoming user is NOT using English, but I have no idea how that would work. Regardless of what we use on our page which only usually takes 4.5-5 secs to load the entire home page without any caching at all, we've also tested this with other forums using Pingdom independent load analysis and the result is still a 15-20% load penalty, again, for whatever reason. Quote:
Regards, Doug |
Quote:
I suppose another solution to using this might be to clone your main theme as a child style (so that any changes made to the parent are made to child as well) and name it multi-language. Make that style available on the style selector and only use this translator on that style, not the default. If a guest visits and see this style and selects it, they would then be given the option to change language. Just an idea of course. ;) |
Quote:
Regards, Doug |
i second that installed
Nominated rated.. very nice mod Quote:
|
Simple, neat and fantastic!
|
Nice mod, thank you!
|
Hi Infopop.
Got an odd one for you. A user on my site is claiming that ever since I installed this modification that it loads a toolbar on his browser?!?! Supposedly it only happens on my site and doesn't show up when he is browsing other sites? |
Ask him to grab a screenshot that you can post here, for fun, to take a peek. There are no popups added to this from Google that I'm aware of.
|
Quote:
"Ver esta p?gina en: espa?ol Traductor de Google Desactivar para: ingl?s Traducci?n en curso (%) Cancelar Traducido al: Mostrar texto original Error: el servidor no ha podido completar la solicitud. Vuelve a intentarlo m?s tarde. M?s informaci?n " |
Infopro, I would love to have this right below the header or somewhere at the top of the forum so every visitor would see it. How do I do this?
Thanks, Margaret |
Quote:
Something about timing out. Is this user on a dialup connection or old computer maybe? No clues, but if this continues for this user and others you might try my suggestion above to hide it from some user groups. I can't really comment on the code for how this works or Googles servers responses of course. I have nothing to do with Google. I'm just adding some code from google to a forum. If that code from Google does not work properly, not much I can do except to suggest removing this, or hide it for specific user groups. If a user is bothered by it, add them to a special addon usergroup that can't see it, for example. @gosiah23 Shouldn't be too much trouble, point me to exactly where you'd like to see it. |
1 Attachment(s)
with ie8 i noticed the Google Translator coming on just under the tabs.. but it don't stay there..
I wouldn't call it a tool bar... I also think it could be disabled.. in ie or jsy tick the little box on the right of the bar.. screen shot ...attached |
1 Attachment(s)
Infopro, thanks for your reply. These are 2 options I like. Whatever is easier, but I think the 1st choice will look better.
See attached image. Attachment 126408 Thanks a million for this mod and your help! Margaret |
We use Google Analytics and it provides a breakdown that shows visitors to our site by what language they're using.
It follows that there must be a variable on connection that can be interrogated to determine that information? Would anyone know how to do that, so that we could have this mod display ONLY if the user is connecting using anything except English? Thanks for any feedback.. :) Regards, Doug |
1 Attachment(s)
Quote:
Well, this is not perfect I don't think, but should put you in the right direction. In your navbar template, find: Code:
<vb:if condition="$vboptions['enablesearches']"> Code:
<!-- Translate vBulletin --> I didn't want to spend much time on this today but If I find some time I'd like to tweak the CSS and js to not be called from Google. In doing so the drop down and menu could be styled a bit nicer to match your site. The stuff inside the div can be placed where ever you like, the js should be placed as close to the bottom of your page as possible for speed. That's why I originally placed it in footer. In looking into the CSS end of this I did find one small tweak some might like: Simply add this to the additional.css template to hide the "toolbar thing" and the balloon tips. Code:
/* gtranslate */ Shamelessly stolen tip from here: http://www.google.com/support/forum/...48c8591e&hl=en Lots can be done with this. Just depends on how much playtime you have to experiment. :) |
Quote:
As for ONLY display if user is connecting using anything other than English, well, you can look at the google site in an earlier post and select your options yourself. Then just add your new code where this old code is located. This can be set to automatically translate and other things. |
Infopro, many thanks again! I will give it a try :)
Margaret |
but how to add URDU lang in it becouse Google Translater has urdu but this don't have. any sulotion?
|
I really like this modification, though I noticed a increased loading time because it is connecting to the Google servers each time. Is there a possibility to use this modification and let it access the Google servers only when you actually need it?
|
Quote:
Quote:
|
Quote:
Code:
pageLanguage: 'en', Code:
includedLanguages: 'ur' Quote:
If you mean the same thing as this comment: Quote:
When it is in use, sure the time it takes translate a page and finish "transferring data from translate.googleapis.com" to your browser there might be some delay. |
All times are GMT. The time now is 07:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|