Full-Page Translator

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
credible
Apollo supporter
Apollo supporter
Posts: 31
Joined: 2023-04-07, 18:45

Full-Page Translator

Unread post by credible » 2023-05-21, 16:15

Which full-page translator add-on do you use?

I need to find an add-on, because Pale Moon doesn't support built-in translator service.

Goodydino
Keeps coming back
Keeps coming back
Posts: 815
Joined: 2017-10-10, 21:20

Re: Full-Page Translator

Unread post by Goodydino » 2023-05-21, 21:53

There are websites that can do translations. I use one of those, not an add-on.
https://www.translate.com/
https://translate.yandex.com/
https://www.ipvoid.com/website-translation-tool/

User avatar
credible
Apollo supporter
Apollo supporter
Posts: 31
Joined: 2023-04-07, 18:45

Re: Full-Page Translator

Unread post by credible » 2023-05-22, 04:23

I asked for an add-on, not website.

_yuyu_
Lunatic
Lunatic
Posts: 253
Joined: 2015-03-02, 14:18

Re: Full-Page Translator

Unread post by _yuyu_ » 2023-05-22, 05:47

I installed S3.Google Translator 5.38 in 2017 and still use it. To find it you may need to install Classic Add-ons Archive first.
Pale Moon 32-bit on Win 7 x64

User avatar
credible
Apollo supporter
Apollo supporter
Posts: 31
Joined: 2023-04-07, 18:45

Re: Full-Page Translator

Unread post by credible » 2023-05-22, 08:03

Thank you for sharing. Hopefully, it's still usable in 2023.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Full-Page Translator

Unread post by Moonchild » 2023-05-22, 08:24

The problem with wanting an extension is that those extensions tightly integrate with translation services. So unless the extension is maintained to keep up to date with the service, any service change may break it. Just so you're aware it may or may not work and may not be reliable.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Enobarbous
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2022-12-06, 17:44

Re: Full-Page Translator

Unread post by Enobarbous » 2023-05-22, 11:46

You can use the script:

Code: Select all

// ==UserScript==
// @name         Google Translation Bar
// @namespace    translate
// @description  On-page Google Translate, work on all web browsers from desktop to mobile
// @author       Sunflowers
// @version      1.3
// @include      *
// @exclude      https://translate.google.com*
// @exclude      https://*.translate.goog*
// @grant        none
// @noframes
// ==/UserScript==

(function () {
  if (window.top != window.self) {
    return; //don't run on frames or iframes
  } else {
    function gtranslateproxy() {
      var s = document.createElement('script');
          s.setAttribute('type', 'text/javascript');
          s.setAttribute('src', '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit');
      document.body.appendChild(s);
      var v = document.body.insertBefore(document.createElement('div'), document.body.firstChild);
          v.id = 'google_translate_element';
         v.style.display = 'none';
      var p = document.createElement('script');
          p.setAttribute('type', 'text/javascript');
          p.text = 'function googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage:""},"google_translate_element");}';
      document.body.appendChild(p);
    };
    document.cookie = 'googtrans=/auto/ru;%20path=/';
    gtranslateproxy();
  };
}) ();
It's in bookmarklet format for convenience:

Code: Select all

javascript:function%20gTranslateProxy(){if(window.top!=window.self)return;else{document.cookie="googtrans=/auto/ru;%20path=/";var%20d=document;var%20b=d.body;var%20o=d.createElement('scri'+'pt');o.setAttribute('src','//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit');o.setAttribute('type','text/javascript');b.appendChild(o);var%20v=b.insertBefore(d.createElement('div'),b.firstChild);v.id='google_translate_element';v.style.display='none';var%20p=d.createElement('scri'+'pt');p.text='function%20googleTranslateElementInit(){new%20google.translate.TranslateElement({pageLanguage:%22%22},%22google_translate_element%22);}';p.setAttribute('type','text/javascript');b.appendChild(p)}};gTranslateProxy();
Note that you will need to replace "ru" in the string "googtrans=/auto/ru" with your locale code
I am sorry for the use of auto-translator to post

User avatar
somdcomputerguy
Lunatic
Lunatic
Posts: 381
Joined: 2014-02-23, 17:25
Location: Greenbrier County, West Virginia
Contact:

Re: Full-Page Translator

Unread post by somdcomputerguy » 2023-05-22, 11:54

This Pale Moon add-on may do what you want. BabbleOn
:cool: -bruce /* somdcomputerguy.com */
'If you change the way you look at things, the things you look at change.'

Kane_the_black
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2018-01-12, 13:03

Re: Full-Page Translator

Unread post by Kane_the_black » 2023-05-22, 15:25

I've been using the add-on Google Translator for Pale Moon 2.0.0 ever since. It still works :P

Locked