Collections
Categories
Partners
Other
WebXML is a Crowdin-developed XML format designed for translating data structures that may contain HTML or XML formatting. When uploaded to Crowdin, it presents data structures to linguists with comprehensive context, ensuring they understand how the data is used. High-quality context significantly contributes to achieving optimal translation quality.
Here's a preview of a Web XML file as it appears to linguists in the Crowdin Editor.
Note: To upload Web XML, use the API or CLI and set the file type to "webxml".
There are no strict requirements for WebXML file structure, but the format follows several key concepts:
Must be valid XML
XML attributes are neither visible nor translatable
HTML or XML content must be either:
HTML encoded, or
Enclosed in CDATA sections
The following attributes are reserved for specific functionality:
crowdinContext
crowdinTitle
crowdinKey
translatable
Boolean value
Controls whether node value can be translated
Attribute | Value |
---|---|
File Extension | .xml |
API Type | webxml |
Source can be edited in Crowdin | No |
Generating translated files via Bundles | Search Crowdin Store |
Supports pluralization | No |
WYSIWYG Preview in the editor | Yes |
Supported types of contextual information | Text comments, Screenshots |
Custom attributes | No |
Existing translations import possibility | ML-based technology |
<?xml version="1.0"?>
<content>
<anyTagName>
<text>
<![CDATA[
<div style="width: 46%; float: left; padding: 0px 10px 0 0; color: #444; line-height: 20px;">
<p>
This is a paragraph with some content for translation. <br />
Some introductory text before the ordered list:
</p>
<ul>
<li>List item #1.</li>
<li>List item #2.</li>
<li>List item #3.<br /></li>
</ul>
</div>
]]>
</text>
<error-page>
<error-code>500</error-code>
<location>/error500.html</location>
<pre>
This section is preformatted and preserves whitespace and line breaks.
It's commonly used for displaying code snippets
</pre>
</error-page>
<field_name crowdinTitle="PreviewFieldName" crowdinContext="useful context that linguists should know about" crowdinKey="segment_key" >This is also some content for translation.</field_name>
<any_tag_name translatable="false">Display but do not translate</any_tag_name>
</anyTagName>
</content>
Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.
Learn MoreReleased on May 16, 2022
Updated on Apr 9, 2025
Published by Crowdin
Identifier:webxml