How to prevent translation of <title>?
See original GitHub issueI want to prevent translation for <title>
element.
But, this extension always translates <title>
's text content.
Env:
- Firefox 88.0
- Extension version: 8.9.3
- Language: Japanese
Reproduce Steps:
- Install this extension
- Visit https://github.com/FilipePS/Traduzir-paginas-web/issues
- Click popup icon
- Select translation language
As a result, this extension translated <title>
.
tranlate
attribute and notranslate
class that is under the document.body seems to works.
https://output.jsbin.com/pitelunayo
But, <title translate="no">
does not work.
Context:
Sharing features like Twitter button refers to document.title
.
I do not want to share the translated title.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Stop YouTube From Translating Video Titles
How to Stop YouTube From Translating Video Titles ; Open the YouTube app. In the top-right corner, tap on your profile picture. Go...
Read more >languages - Disable title translation of YouTube videos
You can change it. Go to You Tube ---> Settings --->Subtitles --->You will be redirect to Google Subtitles(CC) ---> Under regular options you ......
Read more >How to Stop Youtube Translating Video Titles to Your ...
This one so far the most effective way to stop automatic video title translation. For PC users, just head to the profile picture...
Read more >How to stop YouTube from translating video titles and ...
You can stop YouTube from translating video titles and descriptions by changing the language settings on your channel. · To change these settings,...
Read more >How to disable the automatic title translation from Youtube?
General preferences for the web" section and in the "Language" settings add the language you speak. So if your German videos are translated...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In my opinion, the translator should check the element’s
translate
attribute before translate the element’s attribute likealt
orplaceholder
.For example, Google translates has checked the
translate=no
attribute before translatingalt
text. https://translate.google.com/translate?sl=auto&tl=ja&u=https://output.jsbin.com/gohurijocuWHATWG HTML spec said that
Thanks!