English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die globale Eigenschaft 'translate' wird verwendet, um zu bestimmen, ob die Attribute und der Textknoteninhalt der zugehörigen Elemente entsprechend der Systemsprache übersetzt werden sollen.
The translate attribute can have the following two values:
Not set or "yes". Using these two values indicates that the content should be translated when the page is localized.
"no". Using this value indicates that the corresponding content does not require any translation.
Specify some elements that should not be translated:
<p translate="no">This paragraph cannot be translated.</p> <p>This paragraph can be translated</p>
IEFirefoxOperaChromeSafari
The translate attribute is not supported by any mainstream browsers.
The translate attribute specifies whether the content of an element should be translated.
The translate attribute is a feature of HTML5new features.
<element translate="yes|no">
Value | Description |
---|---|
yes | Define elements that require translation |
no | Define elements that do not require translation |