HTML translate Global Attribute

Description

The global attribute translate tells the browser to translate the specified text in the element or not.

Syntax

<element translate="yes | no">

Values

  • yesTells the browser that the content in the element should be translated.
  • noTells the browser that the content in the item cannot be translated.

Example

<p translate="no">Content of the element should not translated.</p> 
<p translate="yes">Content of the element should be translated.</p>

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
XXYesXYesYes
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYesXYesYesYes