What is annoing Google Translate in post pages?

Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Thu, 2010-09-02 23:21

When I go to see individual post threads very annoing Google Translate pops up.
is it just my browser or is it a new feature of the forum?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2010-09-02 23:37

Popups? There's a drop down added to every page to make translating these pages into different languages easier. Helps us help the German forum better as well as those few other posts that are not in English.

What browser are you using?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Fri, 2010-09-03 00:15

IE 8, yes there is toolbar pop up

AttachmentSize
ss.png34.12 KB
 
mamouneyya

Joined: 2009-11-02
Posts: 337
Posted: Fri, 2010-09-03 02:11

I see it from my Mac as well, on both Safari and Firefox.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Fri, 2010-09-03 02:48

When I requested this feature I was only referring to the translation selector/dropdown, the toolbar is annoying.

Sorry guys, its my fault(I actually thought my request was ignored)

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Fri, 2010-09-03 05:06

Hrm. I'm not seeing it, but perhaps that's because my default language is set to English and the forum is mostly English? What browser language settings do you guys have in your browser?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Fri, 2010-09-03 10:10

This is all I include in my site's footer, I get the selector but it does not invoke the toolbar:

<div id="google_translate_element"></div>
<script>
    function googleTranslateElementInit(){
        new google.translate.TranslateElement({
            pageLanguage: 'en'
        }, 'google_translate_element');
    }
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

Thanks Bharat BTW

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Fri, 2010-09-03 18:53

I have only one language installed in the system
as you can see from screenshot, toolbar is set to english.
Itried to click "Turn off", but it did not help...

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Fri, 2010-09-03 19:30

Same here. I can turn it of, but it returns. Probably need (a) google cookie(s) to keep it from appearing.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Sat, 2010-09-04 20:04

I'm happy to tweak the site in any way that makes it useful to you guys. Should I turn off the translate box?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Sat, 2010-09-04 20:14

@Bharat, if the code you're using is more then I posted above, could you cut it back

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Sun, 2010-09-05 05:14

It's pretty much what you pasted. I added Google Analytics tracking and the simple layout, but otherwise nothing special.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Sun, 2010-09-05 05:37
suprsidr wrote:
This is all I include in my site's footer, I get the selector but it does not invoke the toolbar:

suprsidr wrote:
@Bharat, if the code you're using is more then I posted above, could you cut it back

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2010-09-05 10:18

Looks like we don't have the pageLanguage: 'en' for the google.translate.TranslateElement part of the code. I noticed that is in the code by default for the wizard they have here: http://translate.google.com/translate_tools

Haven't done extensive testing here, just what I've observed in 3 different browsers:
Looks like Chrome (a Google product) doesn't display that toolbar. IE doesn't for me, but I also have the Google toolbar installed there, Firefox does but I don't have the Google toolbar installed there. But in IE, even with the Google toolbar installed I do see annoying tooltips on hovering over text.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Sun, 2010-09-05 22:03

IE 8 without GT does show the translate toolbar

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Mon, 2010-09-06 18:04

If I specify "pageLanguage: 'en'" then won't it show "English" as an option in the dropdown. That seems like it defeats the purpose of the box altogether. By not specifying the page language, it guesses the language.

I agree -- in Firefox it's pretty annoying! Hum.

Ok, well I'm going to ask around and see if I can figure out what's going on here. This might take a few days. In the meantime, would you like me to turn off the feature?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Mon, 2010-09-06 18:19
Quote:
I specify "pageLanguage: 'en'" then won't it show "English" as an option in the dropdown

Even if your browser's default is not en? - very strange.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Mon, 2010-09-06 18:28

Ok, well let's find out!

I added "pageLanguage: 'en'" to the widget -- let me know if that improves the situation.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Mon, 2010-09-06 19:35

Oh, yeah that's bad.
I went to an international forum and there was no option for me to translate to english.
So while playing around I hit bulgarian and now I'm stuck in a non-english on all pages.

Sorry, I did not think this would be so much trouble and did not want intend on wasting your time.
I guess I can ignore the toolbar in firefox.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Mon, 2010-09-06 22:00

Hm. Ok, choices:
1) I can remove the block
2) People can live with it

If you're using Chrome, when you go to a page you can right click and choose "Translate to English" on any page that it recognizes as not English. So I think we have a workaround for #1 above, but not #2. So I'm going to get rid of the widget for now. I'll bring it back later if folks know of a way to fix it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git