To translate an XLIFF 2.1 file correctly, translate the natural-language content of each permitted source unit into a reviewed target while preserving the XML structure, segment boundaries, code identities and resource relationships that let a localization tool rebuild the original product. This practical guide explains XLIFF 2.1 units, segments, inline placeholders, paired codes, notes, source and target languages, translator state, extraction and round-trip QA. The goal is not a bilingual XML file that merely looks right in an editor; it is a localized resource that imports, displays and behaves correctly.
An XLIFF file may contain a beautifully translated button next to a damaged inline token. The tool can then import an invalid sentence, omit a clickable link or fail to rebuild a software resource. A translation may also be technically valid but appear in the wrong context because a segment is reused in two screens. Both errors matter. Translators and developers need to distinguish linguistic text, coded formatting, protected data and review metadata before touching the file.
Quick answer: Identify source language and target language, preserve unit identities, edit only translatable text, keep inline codes intact, respect notes and permitted segmentation, validate XML, and run the translated resource in its original environment.
- Confirm the audience, source edition, target locale and actual user task.
- Separate human-language content from technical identifiers, references and control data.
- Draft natural and precise target text, preserving original decisions and constraints.
- Validate the file structure and test its actual reader-facing behavior.
- Keep an evidence trail and review every final deliverable after export.
The visible problem and the canonical job of this guide
This article owns the mechanics of XLIFF 2.1 interchange files. It is not a general guide to choosing better vocabulary, nor a gettext PO handbook. It focuses on the transport envelope that makes translation safe between extraction, editing and reintegration.
A serious translation starts with the question what must the reader or user be able to do after receiving this target-language resource? When a text carries instructions, timing, references or accessible structure, a correct answer needs two kinds of evidence: meaning has survived, and the structure delivering that meaning still works. This principle explains why proofreading a bilingual spreadsheet is useful but insufficient. Reviewers must also observe the final context, because a polished translation can be attached to the wrong action, screen, sequence or resource.
Treat every translation decision as an accountable mapping from a source claim and its context to a target expression. Keep a record of uncertainty, preserve identifiers that act as addresses rather than words, and test the consequences of any permitted reordering. Readers should never have to reverse-engineer the original English to discover what a translated button, caption, PDF passage or manual step really requires. A strong version remains understandable when encountered independently in its intended language.
First principles: what must not get lost
1. Source is a reference, target is a decision
A source segment records the source-language expression; target records the chosen equivalent, and neither changes the meaning of the underlying product action. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: The string Save may mean saving a file, a payment setting or an unfinished form. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Check the linked screen and user outcome before approving a target. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
2. Unit IDs are not translatable words
A unit identifier lets software and translators align the same resource across versions; changing its spelling as if it were user prose breaks traceability. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: A resource named account.save should keep that key even if the visible Save label changes language. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Compare IDs before and after export with a machine-generated list. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
3. Segmentation is a tool boundary
A segment is not automatically a complete sentence or a complete thought; splits arise from extraction and workflow settings. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: A sentence with a linked phrase may be divided into translatable pieces by resource boundaries. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Review adjacent segments, notes and original display context. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
4. Inline codes preserve relationships
An inline code can stand for a variable, hyperlink, styling span or embedded object, and it is not arbitrary decoration. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: A price placeholder must remain attached to the correct currency statement when the target word order changes. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Compare the inventory and pairing of every inline code, not merely their printed shapes. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
5. Notes preserve rationale
Localization notes explain subject, audience, gender, constraints or intended user action where the original string is ambiguous. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: Open can be a verb on a button or an adjective describing a store. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Ask the product owner when the note does not resolve the ambiguity. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
6. State is evidence about review, not truth
A status such as translated or reviewed records workflow progress but does not guarantee that a rendered screen has been checked. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: A completed target can still overflow a small button. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Keep human review and application testing as separate recorded gates. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
7. Source and target locales need precision
Language tags describe the languages in the interchange and help tools route assets; a locale must match the actual deliverable language variety. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: A Brazilian Portuguese release must not silently carry a European Portuguese locale label. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Reconcile file metadata with shipping locale and linguistic approval. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
8. Round-trip safety is a release property
The interchange is successful only when extraction, editing and import leave identifiers, runtime behavior and required inline structure intact. This distinction matters because a translation is not an isolated sequence of dictionary equivalents: it is a decision about what a person must understand while interacting with a structured artifact. When the linguistic and functional layers are confused, the work can pass a superficial text review while still withholding essential meaning from its audience.
Illustration: The translation tool may display valid text yet drop a link during export. The crucial question is which part of the artifact represents user-visible meaning, which part establishes a relationship between resources, and which part records instructions to software or an accessibility tool. Each type calls for a different editing rule; none should be guessed from its visual appearance alone.
Independent check: Rebuild the product and exercise the screen with realistic input. Have someone who did not translate the text repeat the test. Ask them to identify the intended message and expected outcome before telling them what the source meant. This separates true target-language comprehension from a reviewer who unconsciously repairs gaps using knowledge of the original.
A repeatable twelve-stage translation and QA method
Apply the following method in order. Each stage creates a concrete output or question for the next stage, so that a successful translation is reproducible instead of dependent on the memory of one editor. For high-consequence or widely reused material, keep a short review log identifying the relevant source, decision, reviewer and final build. The process may be shortened for a tiny project, but its checks should not be silently skipped.
Stage 1: Scope the resource
Inspect the product, delivery locale, XLIFF producer, tool versions and extraction process before opening a segment. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A two-line menu label and a detailed warning have different review risks. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Create a resource register with app screen, responsible reviewer and locale. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 2: Collect the source
Capture the original XML, product screenshots and a baseline build so reviewers can distinguish a preexisting issue from a translation defect. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A source app may already have clipped text in one language. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Store a read-only copy and record a reproducible build reference. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 3: Map units and segments
Identify files, units, segments, source and target nodes, including any permitted segmentation rules or reordering restrictions. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: One unit may contain multiple segments that belong to the same visible message. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Build a small inventory covering boundaries and dependencies. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 4: Inventory protected codes
Record placeholders, opening and closing formatting pairs, standalone tokens and IDs that must survive target editing. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A bold segment can contain a linked action that a user must still be able to activate. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Reject targets with altered or unmatched code inventories. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 5: Interpret notes in context
Read translator notes, screenshots, UI context and adjacent strings before drafting the target. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: The string Close on an elevator label differs from Close in a sales report. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Document unresolved meanings instead of guessing. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 6: Draft for the user action
Express the same intended action or information in natural target-language syntax without allowing the interchange format to dictate awkward word order. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A localized button needs understandable brevity rather than a calque. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Ask a native reviewer to describe the action triggered. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 7: Preserve structural constraints
Keep correct XML, code relationships, required metadata and nontranslatable resource identities while moving only legitimately movable inline elements. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A numeral token can move in a language with reversed word order. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Validate allowable code order in the selected XLIFF profile. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 8: Check grammatical dependencies
Review pronouns, number, gender, case, articles and agreement around placeholders with realistic substitutions. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: Your {count} files may require different inflection by quantity. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Test multiple parameter values including zero and plural forms. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 9: Review states and provenance
Record translator decisions, reviewer intervention, changed sources and target verification without treating a status label as quality certification. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A source change after review can obsolete a polished target. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Trace every changed source to its target decision. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 10: Run structural validation
Parse XML and check XLIFF constraints, code pairing, required elements and internal references before handing off the file. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A visually hidden ampersand can break XML parsing. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Use the same strict validator as the downstream build when available. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 11: Reintegrate and inspect
Import the file into the actual application, inspect the screens, follow links and exercise dynamic text. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: Correct placeholder identity is necessary but not sufficient for correct rendering. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Capture screenshots and compare outcomes, not pixel-identical line breaks. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Stage 12: Release with a repair route
Ship only reviewed locale files, document remaining known limitations, archive source and review evidence and define how later changes are triaged. In practice, begin with a small representative example rather than changing the whole corpus. Record the expected reader action or interpretation in one plain sentence, and mark any point where the target edition changes the representation or layout. That sentence becomes the test oracle when reviewers compare source and target later.
Worked checkpoint: A hotfix can add a new string not present in the initial file. A reviewer who knows the target language should explain what the translated content now communicates, while a technical reviewer confirms that protected structures still resolve. These are separate responsibilities. If either reviewer needs to invent missing context to justify an answer, the item is not yet ready for release.
Acceptance evidence: Perform a missing-string scan on the final package. Document a pass, a specific defect or an unresolved question. Avoid calling a file complete merely because every segment contains target text; completion means that meaningful output has been observed in a real delivery condition.
Sixteen worked examples with corrections and transfer tests
These examples are teaching cases, not claims that every tool implements each optional feature identically. They illustrate how the translator can locate an actual failure mechanism, make a bounded correction and test whether the correction changes a reader’s outcome. Use real source assets when practising. Any fictional resource name, sample person or model identifier here is illustrative rather than a standardized value.
Case 1: Save button in a settings panel
Source situation. The XLIFF source says Save without explanatory text, and the resource key is settings.save. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Treating Save as a noun may produce a label that describes storage rather than the action a button performs. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Keep the resource key untouched; confirm the button commits changes and translate it with a concise imperative suited to the locale. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Click the localized button and verify that users understand the result. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 2: A price inserted into a sentence
Source situation. The message says Total: {price}; the placeholder is represented by an inline code. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Translating the code label or deleting it to improve the sentence removes the dynamic amount entirely. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Translate the surrounding sentence and retain the protected code while allowing legitimate reordering for the target grammar. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Render with zero, a high value, negative adjustments and each target currency format. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 3: Two different meanings of Open
Source situation. One XLIFF unit belongs to an Open file button, another to Store open today. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Sharing the same translated word because the English spelling matches erases a grammatical distinction. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Resolve each unit from its screenshot, accompanying translator notes and part of speech before choosing targets. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Compare the localized button to the store-status banner in the actual app. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 4: A clickable help link
Source situation. The source message has a paired inline code enclosing Read the help guide. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Removing one code or placing the closing marker around the wrong words can leave a broken link or an unexpected clickable phrase. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Preserve the paired-code relationship and translate the link label so it describes the destination. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Use keyboard and mouse to activate the link and confirm the correct destination. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 5: A standalone icon token
Source situation. A warning includes a standalone inline code for an alert symbol. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. A translator mistakes it for unnecessary punctuation and removes it, changing the visible warning state. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Preserve the standalone protected token and translate only the explanatory text, checking whether alternative text is stored elsewhere. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Render the warning in both light and dark interfaces. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 6: Part of a sentence in a separate segment
Source situation. The extractor splits Please review from your profile before proceeding. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Reviewing the two segments as disconnected standalone sentences causes inconsistent voice or grammatical mismatch. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Reconstruct the full original utterance in a context view before drafting the target segments within allowed boundaries. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Read the combined target with an actual screen reader or rendered UI. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 7: A plural message with a count
Source situation. The visible application displays a number of uploaded files from a dynamic parameter. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. One singular English sentence is used for all numbers and translates into a locale with incompatible grammatical categories. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Identify the plural-selection mechanism outside the XLIFF sentence and request every plural form that the product expects. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Test zero, one, two, five and a larger count where relevant to the locale. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 8: An escaped ampersand in an XML attribute
Source situation. A source string contains A & B and appears in a serialized XML structure. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Copying a raw ampersand into markup can make the resulting interchange document invalid. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Preserve XML escaping rules independently of the natural-language punctuation chosen for the target phrase. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Parse the exported file and inspect the exact rendered text. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 9: A changing source sentence
Source situation. The English source changes from Delete draft to Delete published item after the target was approved. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Reusing the old target without flagging the semantic change may make a destructive action sound harmless. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Mark the target for renewed linguistic and functional review with a change record tied to the resource identity. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Compare source revisions, not only target timestamps. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 10: A nontranslatable product code
Source situation. A hardware setup guide contains model code MX-410 next to the words Compatible adapter. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Translating or spacing the code like ordinary words can produce a nonexistent part identifier. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Preserve the product code and adapt only the descriptive label while allowing local typography outside the code. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Search the product catalogue for the exact resulting identifier. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 11: A gender-dependent sentence
Source situation. The app inserts a person’s role into a congratulatory message. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. A target-language adjective may need agreement, but the source unit contains no information about the role or grammatical gender. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Raise a localization question; revise the resource design or use a verified neutral construction rather than guessing at runtime data. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Test with the actual supported user profiles. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 12: Right-to-left interface text
Source situation. An Arabic-language screen contains a left-to-right invoice identifier inside a sentence. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Altering the identifier or inserting arbitrary direction characters in the interchange can corrupt display or searching. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Protect the identifier, agree direction-handling responsibility with the UI implementation, and translate the surrounding words naturally. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Check selection, copy-paste and spoken reading in the target interface. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 13: A punctuation-only difference
Source situation. Source ends with a colon before a dynamic list; the target language uses another punctuation convention. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Changing a colon in a string that the developer treats as a delimiter can break the assembled message. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Determine whether the mark is presentation text or structural data and adapt it only under the correct ownership. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Test the message with one and multiple list items. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 14: A missing target node
Source situation. A newly added unit has a source but no approved target for the locale. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. A translation tool might silently fall back to English, making a release look complete in file counts but not in the UI. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Identify missing targets with a release-specific query, translate them and mark genuine intentional fallbacks explicitly. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Perform a complete visible-string scan before release. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 15: A formatting span enclosing emphasis
Source situation. The XML contains a paired code around Important and separate text explaining a safety action. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. Translating the bold word correctly while moving the pair to emphasize an unimportant noun reverses the reader’s attention. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Keep the emphasis attached to the actionable meaning, respecting paired-code constraints and safety review. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Compare plain-text and formatted renderings with an independent reviewer. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Case 16: An outdated translator note
Source situation. A unit note claims the message appears during login, but the current UI uses it during account deletion. Before translating, identify the complete context in which this item is encountered. The same words can carry different instructions when they occur beside a control, inside a reference, under a figure or within timed media. The source situation is the evidence that justifies the target wording.
Tempting but incorrect move. The linguistic target may be grammatically correct but dangerously understated for a destructive action. The mistake is attractive because it may sound fluent or preserve a familiar word pattern. However, the reader does not benefit from fluency that changes the permitted action, removes a relationship or makes relevant information undiscoverable. Compare the intended outcome, not just the visible strings.
Better translation decision. Resolve discrepancies against the current product and request an updated note before final approval. Translate the reader-facing layer with an appropriate target-language form. Keep technical material stable unless its governing specification and project workflow authorize a coordinated change. Where the artifact mixes both layers, make the boundary explicit in a translator note or review record rather than silently deciding alone.
How to prove it worked. Verify the actual destination screen, confirmation dialog and cancellation path. Repeat the scenario with different input values, output sizes or users where those factors can change the result. Ask a target-language reviewer to say what they think will happen before acting. A correction is defensible when the same content produces the intended decision and the underlying system remains functional.
Ten failure modes and their repairs
A failure mode is a repeatable route from an apparently harmless editing decision to a communication defect. Fix the mechanism rather than patching one example. The questions below are suitable for a reviewer checklist, classroom discussion or a localization team’s defect taxonomy.
1. Identifier translated
Symptom: A unit ID is changed to the target language because its words resemble the English label. Repair: Restore the machine identity from source control and confirm import mapping before any further editing. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
2. Code dropped
Symptom: A placeholder disappears from the target because the sentence reads more smoothly without it. Repair: Restore the inline marker and run the app with representative dynamic data. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
3. Code paired incorrectly
Symptom: A paired inline element encloses the wrong phrase after target reordering. Repair: Reconstruct the intended rendered emphasis or link with structural checks. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
4. Source copied without review
Symptom: The translation platform autofills a target and marks it complete without context. Repair: Check actual screen intent, locale grammar and dynamic variants. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
5. Wrong locale metadata
Symptom: The target uses a regional language form but the file declares another locale. Repair: Correct routing metadata and confirm the deployment destination. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
6. Inconsistent related segments
Symptom: Two units of a single message use incompatible tense or formality. Repair: Review the full reconstructed interaction instead of isolated strings. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
7. Unescaped XML
Symptom: Literal special characters make the file unparseable despite plausible prose. Repair: Validate before import, then compare final display. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
8. Plural logic omitted
Symptom: The target contains one grammatical form even though the app displays variable quantities. Repair: Rework resource design and test required counts. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
9. Reviewer state overtrusted
Symptom: A target marked reviewed is assumed to be functionally correct without rendering. Repair: Introduce an independent integration test gate. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
10. Source updates ignored
Symptom: Old targets remain after source meaning changes. Repair: Diff by resource identity and reopen affected approvals. Reproduce the problem using the smallest real example that still fails, then verify the repair on the full deliverable. The translator should state what meaning was at risk; the technical reviewer should state what observable artifact or process now confirms the fix.
For transfer, imagine that the same source material is republished for a second language, device or audience. Would the repair still protect the intended relationship? If not, refine the workflow rule and document the dependency. A strong repair scales to the next similar occurrence without assuming that every sentence will happen to use the same word order or layout.
Practice: twelve checks you can perform on your own material
Exercise 1: Interpretation
Find one phrase whose meaning depends on neighboring content, and write the missing context before translating it. Use Save button in a settings panel as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Keep the resource key untouched; confirm the button commits changes and translate it with a concise imperative suited to the locale. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Click the localized button and verify that users understand the result.
Exercise 2: Structure
Identify three strings or labels that look translatable but actually act as technical keys, file references or protected data. Use A price inserted into a sentence as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Translate the surrounding sentence and retain the protected code while allowing legitimate reordering for the target grammar. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Render with zero, a high value, negative adjustments and each target currency format.
Exercise 3: Release evidence
Rewrite a long sentence into natural target-language phrasing without removing a condition, limitation or intended user action. Use Two different meanings of Open as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Resolve each unit from its screenshot, accompanying translator notes and part of speech before choosing targets. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Compare the localized button to the store-status banner in the actual app.
Exercise 4: Interpretation
Locate a structured item whose visible text differs from its underlying programmatic identifier. Use A clickable help link as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Preserve the paired-code relationship and translate the link label so it describes the destination. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Use keyboard and mouse to activate the link and confirm the correct destination.
Exercise 5: Structure
Check whether a source-language assumption about singular, plural or word order survives target-language grammar. Use A standalone icon token as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Preserve the standalone protected token and translate only the explanatory text, checking whether alternative text is stored elsewhere. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Render the warning in both light and dark interfaces.
Exercise 6: Release evidence
Ask a native-language reviewer to explain the text without seeing the source; record any uncertainty they report. Use Part of a sentence in a separate segment as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Reconstruct the full original utterance in a context view before drafting the target segments within allowed boundaries. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Read the combined target with an actual screen reader or rendered UI.
Exercise 7: Interpretation
Compare a successful-looking text export to the actual rendered deliverable and identify one nonlinguistic risk. Use A plural message with a count as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Identify the plural-selection mechanism outside the XLIFF sentence and request every plural form that the product expects. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Test zero, one, two, five and a larger count where relevant to the locale.
Exercise 8: Structure
Repeat the same test with an unusually long target string and observe whether comprehension or behavior changes. Use An escaped ampersand in an XML attribute as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Preserve XML escaping rules independently of the natural-language punctuation chosen for the target phrase. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Parse the exported file and inspect the exact rendered text.
Exercise 9: Release evidence
Verify that a help link, reference, timestamp or navigation destination still points to the right place. Use A changing source sentence as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Mark the target for renewed linguistic and functional review with a change record tied to the resource identity. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Compare source revisions, not only target timestamps.
Exercise 10: Interpretation
Find a passage that includes a genuine language switch and decide which layer should describe the change. Use A nontranslatable product code as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Preserve the product code and adapt only the descriptive label while allowing local typography outside the code. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Search the product catalogue for the exact resulting identifier.
Exercise 11: Structure
Create an explicit defect report that contains a source, observed result, expected result and reproducible steps. Use A gender-dependent sentence as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Raise a localization question; revise the resource design or use a verified neutral construction rather than guessing at runtime data. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Test with the actual supported user profiles.
Exercise 12: Release evidence
Run a final release rehearsal with an independent reader, then record which evidence would justify publication. Use Right-to-left interface text as an optional starting point. Begin by writing down what the original reader needed to know or do. Separate facts given in the source from assumptions about its surrounding product or publication. This matters because an apparently successful translation can conceal an unexamined guess.
Model reasoning: Protect the identifier, agree direction-handling responsibility with the UI implementation, and translate the surrounding words naturally. Your answer should show why the chosen translation preserves the message, which surrounding structure remains untouched, and what test would expose a failure. An acceptable response is not necessarily identical in wording to another student’s version; it must be defensible against the actual source and use case. Check selection, copy-paste and spoken reading in the target interface.
How to score a finished translation
Use five dimensions, each scored from zero to two: semantic accuracy, target-language clarity, structural integrity, accessibility or usability, and release traceability. A zero means absent or wrong; one means partly demonstrated or dependent on inference; two means independently demonstrated. The ten-point total is a teaching aid, not a formal certification. A serious structural or safety defect cannot be offset by perfect style in another category.
For semantic accuracy, compare the decisions a reader can make; for clarity, test reading without source-language support; for structure, validate the actual files and relationships; for accessibility, try nonvisual or constrained devices as appropriate; for traceability, identify the source version and review evidence. If one dimension fails, repair it and rerun dependent tests. A changed translation may alter length, placement, pronunciation, or link context, so an old pass is not automatically current evidence.
Frequently asked questions
Can I translate XLIFF in a normal text editor?
You can inspect XML in an editor, but a translation tool with code protection, context and validation substantially reduces risks. Editing raw tags is appropriate only when you understand the specific XLIFF profile and have a reversible version-control workflow. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
What is a unit compared with a segment?
A unit groups related translatable material and metadata; segments are subdivisions used in the actual translation process. Do not infer that every segment equals an independent sentence or independent user action. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
Should I translate resource identifiers?
Usually no. Unit and code identifiers are machine relationships. Translate visible source content and authorized metadata, and keep identifiers stable unless an explicit migration plan changes them on both sides. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
Why do placeholders matter?
They carry live values, formatting, links or other runtime dependencies. Omitting, duplicating or relocating them incorrectly can change behavior or hide essential information. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
Does an XLIFF status prove quality?
No. State fields can document process milestones, not the correctness of a rendered application. A reliable release combines linguistic review with structural validation and real UI testing. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
Can inline codes move when word order changes?
Sometimes, if the chosen code and workflow permit reordering and the underlying runtime meaning remains intact. Check relevant constraints; never assume every tag can move freely. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
How do I handle a missing translation?
Identify whether a fallback is deliberate and documented. Where the locale release promises complete coverage, translate and test the missing string before shipping. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
Is XLIFF 1.2 the same as XLIFF 2.1?
No. The data models and syntax differ. Establish the actual version and use its corresponding tooling and documentation rather than applying 1.2 examples blindly. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
What is a round-trip test?
Export or extract, localize, import and rebuild a product, then verify identifiers, rendered text, links, placeholders and behavior. It tests the whole pipeline, not just the file. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
What if the source itself is ambiguous?
Request clarification or a product screenshot and record the answer. Guessing a polished target creates hidden defects that often surface only after users encounter the feature. The practical way to decide is to start from the user outcome and then identify the relevant format or workflow constraint. Check that constraint independently of spelling and fluency. When project-specific conventions differ, record the convention and test it on the final deliverable instead of assuming one vendor’s preview is universal.
Sources, related lessons and what to read next
Technical authority: OASIS XLIFF 2.1 Core Specification. Use the applicable published specification and verify the version supported by your authoring and delivery tools. Where this guide offers an example or a practical house rule, do not mistake it for an additional requirement imposed by the formal standard.
- Vocabulary Learning Hub — strengthen precise word choice and semantic distinctions.
- How English Works — study how grammar, context and meaning recovery work.
- GNU gettext PO, context and plurals — continue into a neighboring translation problem with a different canonical focus.
- EPUB 3.3 navigation and accessibility — continue into a neighboring translation problem with a different canonical focus.
- W3C ITS 2.0 translate flags — continue into a neighboring translation problem with a different canonical focus.
- Subtitle timing and reading speed — continue into a neighboring translation problem with a different canonical focus.
The next useful move is to choose one representative source resource, translate it using the twelve stages, collect a small set of negative test cases and run the finished artifact through an independent reader review. If the text is accurate but the document or system fails, treat the defect as a translation delivery failure, not as a cosmetic issue. If the file passes technical validation but the reader misunderstands the task, treat it as a language failure. Both are correctable through a repeatable process.
