Linux users :  K-Meleon Web Browser Forum
All about K-Meleon under Linux using wine. 
google translate no voice
Posted by: kenn
Date: July 27, 2015 10:53AM

I am on Ubuntu 14.04.2 32 bit platform and I have wine-1.7.44 installed. I installed latest version of K-meleon (Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0 K-Meleon/75.0)
I picked up windowsxp in wine config.
I much like it, it's fast, lightweight, uptodate browser. I congratulate those who contribute to it.

I met a petty annoyance, when I type in a word in google translate page and hit speaker button it won't pronouce the word. I did a guich search and made a macro as this page suggested http://kmext.sourceforge.net/km74/gtranslateaudiofix.kmm but it doesn't fix the problem.

Would you please post a fix?

Regards.
Kenn

Options: ReplyQuote
Re: google translate no voice
Posted by: JujuLand
Date: July 27, 2015 11:33AM

Hi,

I have the same problem.

Where you you find informations about this fix ? I found nothing.

The first thing ought to know which type of stream it is.
Have you tried to install rvjmimedit and my tool to execute files under Linux.

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: google translate no voice
Posted by: JujuLand
Date: July 27, 2015 04:30PM

Hi, opening the sound configuration box and choosing Applications, when I try with Firefox, I see that a CubeUtils stream is opened.

It would perhaps necessary to add a mimetype for this type, but I think it's necessary to know the exact syntax of the mimetype.

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: google translate no voice
Posted by: siria
Date: July 27, 2015 09:36PM

I should stay out of this due to cluelessness and having no Linux for testing myself, but can't resist tongue sticking out smiley Just shooting in the dark:

1) would it help anything to replace in the macro the 2 code lines with this one?
index($URL,"https://translate.google")==0 ? injectCSS("* { opacity:1 !important;}") :0;
(probably not, just inserting a blank and ; in css / rest only for simplifying code)

2) google plays some evil tricks lately, was it for youtube that "ALL cookies" must be allowed?
Perhaps also for translation sounds?

3) a quick search says Linux may be missing some plugin for that page?
https://support.mozilla.org/en-US/questions/1038540

4) and in an old thread from 2011 someone said the flashblocker prevents the sound from playing...



Edited 1 time(s). Last edit at 07/27/2015 09:54PM by siria.

Options: ReplyQuote
Re: google translate no voice
Posted by: JujuLand
Date: July 28, 2015 07:21AM

Hi,

Quote
siria
3) a quick search says Linux may be missing some plugin for that page?
https://support.mozilla.org/en-US/questions/1038540
In this case it ought not to work with Firefox under Linux. But it works with Firefox ...

Quote
siria
2) google plays some evil tricks lately, was it for youtube that "ALL cookies" must be allowed?
Perhaps also for translation sounds?
During my tests, I don't block cookies, and don't use flashblocker

Quote
siria
1) would it help anything to replace in the macro the 2 code lines with this one?
index($URL,"https://translate.google")==0 ? injectCSS("* { opacity:1 !important;}") :0;
(probably not, just inserting a blank and ; in css / rest only for simplifying code
I will try this macro.

I have tried in Virtualbox, under XP SP2, and It doesn't work. Perhaps due to the fact that I don't install SP3. But it doesn't bug me.

Perhaps, under Linux, could it be due to Wine. The config doesn't says the SP which is emulate.

Thanks, siria, to turn on the lights exiting smiling smiley
A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: google translate no voice
Posted by: kenn
Date: July 28, 2015 09:55AM

Quote
JujuLand
Hi,

I have the same problem.

Where you you find informations about this fix ? I found nothing.

The first thing ought to know which type of stream it is.
Have you tried to install rvjmimedit and my tool to execute files under Linux.

A+

Related links are here :

http://kmeleonbrowser.org/forum/read.php?4,131748
http://kmeleonbrowser.org/forum/read.php?9,131305

Options: ReplyQuote
Re: google translate no voice
Posted by: kenn
Date: July 28, 2015 09:59AM

Quote
siria
I should stay out of this due to cluelessness and having no Linux for testing myself, but can't resist tongue sticking out smiley Just shooting in the dark:

1) would it help anything to replace in the macro the 2 code lines with this one?
index($URL,"https://translate.google")==0 ? injectCSS("* { opacity:1 !important;}") :0;
(probably not, just inserting a blank and ; in css / rest only for simplifying code)

2) google plays some evil tricks lately, was it for youtube that "ALL cookies" must be allowed?
Perhaps also for translation sounds?

3) a quick search says Linux may be missing some plugin for that page?
https://support.mozilla.org/en-US/questions/1038540

4) and in an old thread from 2011 someone said the flashblocker prevents the sound from playing...

Thank you for suggestion. I have no idea how macro works, I applied your seggestion like:

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ----- google translate audio pronunciation fix



gtranslateaudiofix{
index($URL,"https://translate.google")==0 ? injectCSS("* { opacity:1 !important;}") :0; 
}


$OnLoad=$OnLoad."gtranslateaudiofix;";

# --------------------------------------------------------------------
$macroModules=$macroModules."gtranslateaudiofix;";

with no luck.

Options: ReplyQuote
Re: google translate no voice
Posted by: kenn
Date: July 28, 2015 10:11AM

By the way, in k-meleon, javascript is on and flash 18 works well.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.