silikonrelief.blogg.se

Translateq
Translateq











translateq

#Translateq code#

You may want to translate the natural language text in examples of source code, for example, but leave the code untranslated. The yes value is therefore likely to see little use, though it could be very useful if you need to override a translate flag on a parent element and indicate some bits of text that should be translated. If a page has no translate attribute, a translation system or translator should assume that all the text is to be translated. Otherwise attributes should not be translated.

translateq

HTML5 has a list of attributes that are to be translated by default, but these attributes should not be translated if they are on an element where translate is set to no. Setting this translate flag on an element applies the value to all contained element content.

translateq

Or it could be a human translator's 'workbench' tool, which would prevent the translator inadvertently changing the text. The translation tool in question could be an automated translation engine, like those used in the online services offered by Google, Microsoft and Yandex. If the value is no, translation tools should protect the text of the element from translation. The attribute can appear on any element, and it takes just two values: yes or no. There is no effect on the rendered page (although you could, of course, style it if you found a good reason for doing so). The translate attribute in HTML5 indicates that the content of the element should or should not be translated. What is the translate attribute for, and how should I use it? Quick answer













Translateq