Auto-translate when visiting foreign sites

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Grainfrog

Auto-translate when visiting foreign sites

Unread post by Grainfrog » 2017-09-02, 13:30

I understand that due to the complex nature of such a thing that this would be a project more appropriate for a later time in PM's development, but an in-browser feature that automatically translated the text of a "foreign" webpage into the native language of PM (English or whatever language pack you are using) would be extremely useful.

Many, many thanks to everyone working on PM!!

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

Re: Auto-translate when visiting foreign sites

Unread post by Moonchild » 2017-09-03, 11:21

Something like this would inevitably have to rely on a service provider to provide the translation. Doing that programmatically as a core feature will require some sort of partnership to prevent it becoming a moneysink based on how many users use this functionality. I'm not aware of any such service provider that would be willing to do this at this time. Your best bet is probably to use an extension, bookmark or bookmarklet that links to translation of a page using e.g. google translate or similar.
"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

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2373
Joined: 2012-08-19, 20:32

Re: Auto-translate when visiting foreign sites

Unread post by back2themoon » 2017-09-03, 13:07

See S3.Google Translator, it seems to provide what you are asking.

You can also try DeepL Translator, a new translation engine that reportedly outperforms Google etc. and gives more human-like results, info here.

Swicher
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: 2017-07-09, 13:12

Re: Auto-translate when visiting foreign sites

Unread post by Swicher » 2017-12-24, 08:48

Moonchild wrote:Doing that programmatically as a core feature will require some sort of partnership to prevent it becoming a moneysink based on how many users use this functionality.
In fact Firefox already implemented this functionality a few years ago (I do not know if it still has it in more recent versions) although as explained in the comments, it is not active by default and you have to get a key to the Bing or Yandex API before can use it.

Locked