ken107 / read-aloud

An awesome browser extension that reads aloud webpage content with one click
https://readaloud.app
MIT License
1.36k stars 233 forks source link

[feature request] pre-define language for specific site #386

Closed omega3 closed 5 months ago

omega3 commented 5 months ago

Allow to per-define default language by setting voice to certain sites, for example: English for https://www.bbc.com/ Polish for https://www.polsatnews.pl

I started using Piper voices and language detection doesn't work. So, some configuration file would be a great solution.

This would allow not to change options every time user wants to view sites in different languages. Usually users frequently visit the same favorite sites at least for reading news.

ken107 commented 5 months ago

Please try:

In "Auto select" mode, Read Aloud will detect the language of the article, then choose the Preferred voice for that language that you have set.

omega3 commented 5 months ago

It works with Read aloud generic voice but it doesn't work with Piper voices. I use 1.69.0 add-on with Firefox 124.0.1 (64 bit) on Manjaro Linux.

omega3 commented 5 months ago

I reinstalled and switching voices works ok. Perhaps I have chosen only one voice per language, while previously I had two voices or more per language downloaded. But now it opens new tab (and somehow makes it pinned) and requires permission. https://i.imgur.com/KR82Tt3.png Can this permission be set permanently?

So I close it because auto select works also for Piper voices.