Skip to content

Commit

Permalink
change the attribute of "notranslate" to "content" (#2050)
Browse files Browse the repository at this point in the history
* change the key of "notranslate" to "content"

"value" is not a valid attribute on element meta (http://w3c.github.io/html/single-page.html#the-meta-element).
According to https://support.google.com/webmasters/answer/79812?hl=en,
content="notranslate" is recommended to use.

* don't specify the language on the Google site
  • Loading branch information
luin authored and roblarsen committed May 16, 2018
1 parent 269f727 commit 7737439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ plugin](https://www.google.com/search?ie=UTF-8&q=how+to+make+browser+search+plug

* If you want to disable the translation prompt in Chrome or block Google
Translate from translating your web page, use [`<meta name="google"
value="notranslate">`](https://support.google.com/translate/?hl=en#2641276).
content="notranslate">`](https://support.google.com/webmasters/answer/79812).
To disable translation for a particular section of the web page, add
[`class="notranslate"`](https://support.google.com/translate/?hl=en#2641276).

Expand Down

0 comments on commit 7737439

Please sign in to comment.