Marking Content That Should Not Be Translated
Note: This method requires additional setup by Language IO. Please contact your Language IO Representative if you would like to use this method.
To indicate content that should not be translated, edit the source HTML of the Answer and add the opening and closing tags <span class="LIO-no-translate"> and </span> around each section.
To make sure that the correct content is left untranslated, keep this tag separate from other span tags. The tag should be completely nested inside most other tags (however, you can include style such as bold, italics, or underline, and links into a LIO-no-translate span).
Example 1:
Original content:
<p id="new-content">
Here is some new content.
This sentence shouldn't be translated.
</p>
This sentence <i>also</i> shouldn't be translated.
Correctly tagged content:
<p id="new-content">
Here is some new content.
<span class="LIO-no-translate">
This sentence shouldn't be translated.
</span>
</p>
<span class="LIO-no-translate">
This sentence <i>also</i> shouldn't be translated.
</span>
Improperly tagged content - tags are not nested correctly:
<p id="new-content">
Here is some new content.
<span class="LIO-no-translate">
This sentence shouldn't be translated.
</p>
This sentence <i>also</i> shouldn't be translated.
</span>
Example 2:
Original content:
<span class="new-content">
This sentence shouldn't be translated.
</span>
This sentence should be translated.
Correctly tagged content:
<span class="new-content">
<span class="LIO-no-translate">
This sentence shouldn't be translated.
</span>
</span>
This sentence should be translated.
Improperly tagged content - combined span tags:
<span class="new-content LIO-no-translate">
This sentence shouldn't be translated.
</span>
This sentence should be translated.
Comments
0 comments
Article is closed for comments.