English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
A propriedade global translate é usada para determinar se o valor do atributo correspondente do elemento e o conteúdo do nó de texto filho devem seguir a mudança de tradução do idioma do sistema.
The translate attribute can have the following two values:
No special settings or "yes". Using these two values means that the corresponding content should be translated when the web page is localized.
"no". Using this value means that the corresponding content does not need 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
Currently, there is no mainstream browser that supports the translate attribute.
The translate attribute specifies whether the content of the element should be translated.
The translate attribute is a HTML5of the new features.
<element translate="yes|no">
Value | Description |
---|---|
yes | Define the content of the element that needs to be translated |
no | Define the content of the element that does not need to be translated |