Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

translate

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

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
WHATWG HTML Living Standard
The definition of 'translate' in that specification.
Living Standard No change from latest snapshot, HTML5.1
HTML5.1
The definition of 'translate' in that specification.
Working Draft Snapshot of WHATWG HTML Living Standard, initial definition

Browser compatibility

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

See also

文件標籤與貢獻者

 此頁面的貢獻者: teoli, kscarfone, linfestus
 最近更新: teoli,