Translation Web Page (TWP as in firefox)

Discussion of features in Seamonkey
Post Reply
skuwakin
Posts: 7
Joined: October 2nd, 2022, 8:34 am

Translation Web Page (TWP as in firefox)

Post by skuwakin »

Good time of day. Is it possible to port for seamonkey ?
https://addons.mozilla.org/en-US/firefo ... ent=search
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Translation Web Page (TWP as in firefox)

Post by therube »

I'll just note that SeaMonkey has, Tools | Translate Page...


As far as "porting", AFAIK, there is no porting between webextension & XUL extension.
It would need a re-write.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Lef
Posts: 20
Joined: January 3rd, 2022, 10:50 am

Re: Translation Web Page (TWP as in firefox)

Post by Lef »

therube wrote:I'll just note that SeaMonkey has, Tools | Translate Page...
Doesn't seem to work on my end.

1. Goto https://fa.wikipedia.org/wiki/%D8%B5%D9 ... 9%84%DB%8C
2. Tools > Translate page
3. It loads, but the page isn't translated. The exact translate.goog url works in Chromium does though.

Does it work on your end? I even tried restarting in safe mode with addons disabled to be sure.
hardys
Posts: 290
Joined: August 7th, 2015, 9:15 am

Re: Translation Web Page (TWP as in firefox)

Post by hardys »

I can confirm this.
It worked 2 days ago so it seems Google changed something on their side.
I see an error in the console

Code: Select all

Zeitstempel: 06.12.2022, 10:57:10
Fehler: SyntaxError: An invalid or illegal string was specified
Quelldatei: https://translate.googleapis.com/_/translate_http/_/js/k=translate_http.tr.de.d4wDIbu1mqs.O/d=1/exm=el_conf/ed=1/rs=AN8SPfrr-bcxsyv5FoLO1ZzRCXj-joP0vA/m=el_main
Zeile: 468
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Translation Web Page (TWP as in firefox)

Post by Frank Lion »

Lef wrote:1. Goto https://fa.wikipedia.org/wiki/%D8%B5%D9 ... 9%84%DB%8C
2. Tools > Translate page
3. It loads, but the page isn't translated.
Translates fine for me on my usual profile (in normal and safe mode options), but not on a clean testing profile.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Translation Web Page (TWP as in firefox)

Post by therube »

Known issue.
Pale Moon came up with a "fix", though frg said (flipping the Pref, dom.enable_performance_navigation_timing) would cause other issues.
So at the moment... ?

(You could flip it, Translate, then flip it back...)


And then, that begs the question as to why it is working for Frank (who was also not running into the google search of "mozillazine" issue)? Might you have the particular Pref flipped in your usual Profile?


https://forum.palemoon.org/viewtopic.php?f=70&t=29165
viewtopic.php?f=11&t=3101337


edit...

This Pref was also mentioned, & also "fixes" things, but I don't know the implications of flipping it?

Code: Select all

privacy.resistFingerprinting;false to true
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
hardys
Posts: 290
Joined: August 7th, 2015, 9:15 am

Re: Translation Web Page (TWP as in firefox)

Post by hardys »

therube wrote:This Pref was also mentioned, & also "fixes" things, but I don't know the implications of flipping it?
When I had set this pref SM after a restart didn't remember is window size and position.
In SM mail the compose window for new mail opens with full height.
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Translation Web Page (TWP as in firefox)

Post by Frank Lion »

Frank Lion wrote: Translates fine for me on my usual profile
Turns out I have dom.enable_performance_navigation_timing toggled to false in about:config. This is an entry suggested to me a while back by this guy, who, ironically, nobody can read in SM atm - https://m.fndoc.com/api/PerformanceNavi ... iming.html

...or to put it another way, 提供了浏览器文档导航事件指标的方法和属性 :)

No adverse with this setting detected yet.
therube wrote:And then, that begs the question as to...Frank (who was also not running into the google search of "mozillazine" issue)

viewtopic.php?f=11&t=3101337
The only question it begs, is why don't you read exactly what is written?

Algorithms 'think' in a specific way, which is why I searched for mozillazine forums there and not for just mozillazine.

hardys wrote:When I had set this pref SM after a restart didn't remember is window size and position.
Yep, changing random about:config entries, especially ones that therube gives out, is a recipe for disaster.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
hardys
Posts: 290
Joined: August 7th, 2015, 9:15 am

Re: Translation Web Page (TWP as in firefox)

Post by hardys »

Frank Lion wrote:Yep, changing random about:config entries, especially ones that therube gives out, is a recipe for disaster.
No problem with this :D
I only answered to show what will brake eventually by using this setting.

I'm always thankful for suggestion to solve a problem. And if it doesn't work I switch back to the original settings.
Post Reply