Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notranslate #17

Open
andrzejQ opened this issue Oct 26, 2020 · 2 comments
Open

notranslate #17

andrzejQ opened this issue Oct 26, 2020 · 2 comments

Comments

@andrzejQ
Copy link

Proposal:
Instead of <html> could be <html lang="en" class="notranslate" translate="no">.
Also <title> could contain filename...

@chcg
Copy link
Owner

chcg commented Dec 7, 2020

@andrzejQ
Why do you propose english as language? The input language is basically unknown I would say. Especially if the input is just plain text. Otherwise if it is program code it is probably english.
And why should the content be not translated/translatable (https://www.w3.org/International/questions/qa-translate-flag.en)?

@andrzejQ
Copy link
Author

andrzejQ commented Dec 7, 2020

I prepared a test page. Problem appears in a browser, such as Chrome, with the option to automatically translate into non-English.

https://andrzejq.github.io/Jekyll_app1htmlFile/test/2002/09/18/html_notranslate_test.html

lang="" is ok - may be empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants