Traduzir-paginas-web
Traduzir-paginas-web copied to clipboard
[Feature] Each website can set its own Tags whitelist and blacklist.
Is your feature request related to a problem? Please describe
The main reason for this is that elements like div.search-title
in GitHub search results page, which are the names of code repositories, do not need to be translated. Translating them could actually make them less recognizable.
Describe the solution you'd like
For instance, on GitHub. I might want to translate only the <article>
tag or the <span>
tag with the .search-match
class. In that case, I can simply edit the settings for the website, using the syntax standard of CSS selectors, to add article
and span.search-match
to the whitelist. Consequently, TWP will only translate page elements that meet these two rules.
If this rule can support full CSS selectors, that would be perfect.
This will also greatly reduce the amount of text that needs to be translated on the page.
Describe alternatives you've considered
No response
Additional context
No response
Did you fill in all the fields correctly?
- [ ] Yes, everything is fine!