Translate an XLIFF File into Simplified Chinese
Upload your XLIFF file and Manuce translates each source segment into Simplified Chinese in the target element, updates the state attribute and returns the same file, ready to import. Below: what Chinese changes in an XLIFF file — full-width punctuation, a single plural form, measure words — and what to check before and after.
What it costs
For a XLIFF file with about 2,500 words of values, into Chinese (Simplified):
To understand, internal use.
Ready to send, by the technical specialist.
Cross-checked. For documents that commit you.
Price for one language, original layout included. VAT not applicable — article 293 B of the French General Tax Code (CGI). The exact quote, based on your file's word count, is shown before you pay.
What Chinese changes in an XLIFF file
Simplified Chinese uses no spaces between words and full-width punctuation: , 。 : ? !. The target for Delete {name}? becomes 删除 {name}?, and that question mark is a different character. An automated test asserting that a string ends with ? will fail on the Chinese build; fix the test, not the translation.
Text is two to three times shorter in characters, but each character is wider, so the screen space taken changes little. If your trans-unit elements carry a maxwidth attribute or a size limit designed for Latin script, do not assume everything fits because the character count dropped.
Chinese has a single CLDR plural category: other. The ICU message {count, plural, one {# file} other {# files}} needs only one form in Chinese, and the number takes a measure word that depends on the noun: %d 个文件 for files, %d 条消息 for messages. A lone %d in its own unit, separated from its noun, leaves the translator unable to choose.
This page covers Simplified Chinese (mainland China, Singapore). Traditional Chinese, for Taiwan or Hong Kong, is a separate language at Manuce; order it on its own if you target those markets.
What Manuce returns, and what it does not do
- XLIFF 1.2 and 2.0: each source is translated into the
targetelement and thestateattribute is updated. - Protected units:
translate="no"is respected. Notes in the file are passed to the translator as context, which matters for a short label like “Open”, rendered 打开 (action) or 已打开 (status) depending on use. - Inline tags:
<g>,<x/>,<ph>are kept in the same order. A string that would lose them is rejected and flagged. - Checks: every translated value is compared with its source (variables, tags). If a mismatch persists, the source value is kept and the report says so.
- Left untranslated: keys, empty values, URLs, email addresses, numbers, colours, date formats, identifiers and anything marked as non-translatable.
- Same file: indentation, order, quotes, comments, line endings, encoding and BOM are preserved; only the values change.
You also get a report listing translated strings, strings left as they were and why. Manuce does not take glossaries or translation memories, does not alter the file structure (it neither adds nor removes plural forms) and cannot see how strings render in your interface, so display testing stays on your side.
Pitfalls specific to XLIFF and Chinese
Sentences split across units. Chinese word order often differs from the source. “Sent by {name} on {date}” becomes 由 {name} 于 {date} 发送, with the verb at the end. If the source is split into three trans-unit elements (“Sent by”, “{name} on”, “{date}”), no correct translation is possible. Merge the sentence into one unit before uploading.
Several tags in one string. Tags stay in source order. Click <g id="1">here</g> to save becomes 点击<g id="1">此处</g>保存 without trouble. With two tagged segments that Chinese would naturally swap, the sentence has to follow the imposed order, so review those strings first.
Spaces around placeholders. Hello, {name}! becomes 你好,{name}!, with no space after the full-width comma. Whether to put a space between Latin words and Chinese characters (上传 PDF 文件 or 上传PDF文件) is a house-style choice: pick one and check it is applied.
Encoding. It is preserved as is. A file declared as ISO-8859-1 or Windows-1252 cannot hold Chinese characters: convert it to UTF-8 before uploading.
Preparing the file and checking the result
- Check the target language attribute (
target-languagein 1.2,trgLangin 2.0):zh-CNorzh-Hans, whichever your framework expects. - Save the file as UTF-8.
- Add notes to short, ambiguous labels (buttons, tabs, statuses): notes are the only context the translator sees.
- Mark brand and product names with
translate="no". For a term that must stay unchanged, check it in the free sample, then in the delivered file. - On delivery, read the report: a string left in the source language often points to a misplaced variable or tag in the original.
- Test the display with a font that includes Chinese characters. A Latin-only font shows empty boxes; declare a Chinese fallback font in your stylesheet or theme.
The price is based on the words in the values, excluding keys and tags, with the ×1.6 coefficient that applies to Chinese.
In practice
- Check the file is UTF-8 and the target language attribute reads zh-CN or zh-Hans.
- Upload the XLIFF file; the quote appears at once, based on the words in the values.
- Read the free sample, focusing on strings with variables or tags.
- Pay, then download the translated file and its report from your account.
- Import the file and test the display with a Chinese font.
Frequently asked questions
My file is XLIFF 2.0. Is it supported?
Yes. Both 1.2 and 2.0 are handled: the source is translated into the target element and the state attribute is updated. Everything else, including indentation, comments, encoding and BOM, is preserved.
Are <g>, <x/> and <ph> tags preserved?
Yes, in the same order as the source. A string that would lose them is rejected and flagged in the report, and the source value is kept if a mismatch persists.
How are plurals handled in Chinese?
Chinese has one CLDR plural form, other, and numbers take a measure word (个, 条, 张…). Manuce changes only the values, not the file structure, so if your tooling generates plural forms per language, it is your tooling that produces the single Chinese form. Review ICU messages in the free sample.
Can I get Traditional Chinese in the same order?
Traditional Chinese (Taiwan, Hong Kong) is a separate language at Manuce, so add it as a second language. The multi-language discount then applies to the whole order.
Why does Chinese cost more than Spanish?
Chinese carries a ×1.6 coefficient on the per-word price. The count covers the words in the source values only, excluding keys and tags, and the quote is shown as soon as you upload.
The specialist in charge
This subject goes to Dédale, the technical specialist. See how it works.
The same file, into another language
Into Chinese (Simplified), other files
See also
Try it on your own file, free
A sample of your file translated at the level you choose, before any payment. You judge, then you decide.