HTML Global translate Attribute
Example
<p>This can be translated to any language.</p>
<p translate="yes">This can be translated to any language.</p>
<p translate="no">Don't translate this!</p>
Meaning
The translate global attribute is an enumerated attribute that is used to specify whether an element's translateable attribute values and its Text node children should be translated when the page is localized, or whether to leave them unchanged.
Standard Syntax
<element translate="yes|no">
Browser Support
Status
Attribute Values
Value | Description |
---|---|
Yes | Specifies the content of the element should be translated |
No | Specifies the content of the element must not be translated |