W3cubDocs

/HTML

translate (attribute)

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The translate global attribute is an enumerated attribute that is used to specify whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:

  • empty string and "yes", which indicates that the element should be translated when the page is localized.
  • "no", which indicates that the element must not be translated.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'translate' in that specification.
Living Standard No change from latest snapshot, HTML 5.1
HTML 5.1
The definition of 'translate' in that specification.
Recommendation Snapshot of HTML Living Standard, initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support No support No support No support No support No support
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support No support No support No support No support No support

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate