VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How Vocabulary Coding And Language Engineering Works | Why Can’t Software Translate One Word at a Time? Plurals, Placeholders and Localisation

Software cannot reliably translate an interface one word at a time because meaning depends on the whole message, its variables and the grammar of the reader’s language. A button, a status notice and a sentence about three parcels may use the same English word in different roles. Reusing one translated fragment can break agreement, obscure the action or attach a number to the wrong object. Vocabulary coding therefore needs to describe what a message means, when it appears and which information must survive translation.

The practical method is to define the event and audience, write complete messages, name and type every placeholder, use locale-aware formatting, review each grammatical branch and test the resulting screen. The examples below use a fictional parcel dashboard. They connect familiar vocabulary to Unicode CLDR, ICU MessageFormat and W3C internationalisation guidance, then propose a review workflow for human and AI-assisted localisation. Successful localisation should let readers understand the same event and choose the appropriate next action, even when sentence structure differs.

  • Meaning: Specify the event, actor, object, status and expected action before translating.
  • Messages: Give translators a complete unit and enough context to rearrange it.
  • Plurals: Use the target locale’s categories; category names are not universal number tests.
  • Placeholders: Preserve variable identity, type, allowed values and display boundaries.
  • Presentation: Format numbers, dates and mixed-direction text for the chosen context.
  • Fallback: Track which language actually supplied a message and make language choices accessible.
  • Verification: Check rendered meaning and user action as well as valid message syntax.

Choose your reading route

Start with the question closest to your task, or follow the chapters in order.

1. Understand the message

Chapters 1–3. Define the relationship and plural behaviour.

2. Build complete messages

Chapters 4–6. Check grammatical choices and typed variables.

3. Render for the reader

Chapters 7–9. Review presentation, direction and fallback.

4. Review and release

Chapters 10–12. Test AI output, message states and the audit.

Full contents · Start the full article · Frequently asked questions

CHAPTER 1 OF 12 · Understand the message

1. A complete message carries a complete relationship

Back to contents

Imagine a dashboard assembled from three reusable pieces: “Your”, a number, and “parcel is ready”. It appears plausible for one parcel. At three, the sentence fails before translation even begins. Replacing “is” with a second conditional fragment repairs one English case while leaving the application responsible for reconstructing grammar in every language.

W3C’s guidance on composite messages explains why fragment reuse can prevent translators from producing correct agreement and sentence order. The engineering implication is to make the relationship available as one translatable message, with variables where the underlying facts change.

In our fictional product, “ready” means packed and awaiting collection. It does not mean collected, dispatched or delivered. That distinction belongs in the message brief. A fluent translation that implies departure would misrepresent the event even if its grammar were flawless.

This is where vocabulary engineering adds value: it treats the word as part of a small model of the world. Who prepared the parcel? Where is it? What can the reader do now? A translation resource should answer those questions without forcing the translator to infer them from an isolated English adjective.

The same approach scales beyond one screen. Support scripts, notification emails and an AI assistant should draw on the same status definition. Their wording can vary for their audience, but their description of the parcel’s state should remain consistent.

Contents · Next chapter

CHAPTER 2 OF 12 · Understand the message

2. Write a meaning contract before a translation brief

Back to contents

A useful message contract is a short editorial record, not a claim that language can be reduced to a perfect formula. For our dashboard, it connects the resource identifier to an observable event and its permitted claims. The following record is a proposed working template.

FieldFictional exampleQuestion it settles
Message identifierparcel.collection.readyWhich notice is being translated?
EventPacking completed; collection permittedWhat has actually happened?
AudienceThe person collecting the parcelsWho must understand the message?
CountWhole number of parcels in this collectionWhat does the number include?
LocationCollection desk display nameWhere should the reader go?
Excluded claimsNo claim that dispatch or delivery occurredWhat must wording avoid implying?
ActionView collection instructionsWhat is the intended next step?
A proposed meaning contract for a fictional collection notice.

Add a screenshot, the neighbouring controls and one example for each important state. A resource identifier such as “ready” alone cannot tell a translator whether the word describes a person, a machine or an order. A descriptive identifier helps maintenance, while the explanatory record supplies the actual meaning.

Version the contract when the product changes. If the same notice later appears before packing finishes, the old translation approval no longer covers its use. The application has changed the conditions under which the sentence is true. That deserves review even if every visible word remains unchanged.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 12 · Understand the message

3. Plural categories describe language behaviour

Back to contents

CLDR’s plural rules use labels including zero, one, two, few, many and other. A locale uses the categories its rules require. These labels organise changes needed around a numeric value; they are not universal definitions such as “few always means three to five”.

The important distinction is between an exact value and a grammatical category. A special message for exactly zero parcels is a product decision. A grammatical branch selected by the locale is a language decision. Treating both as the same test can make an interface appear correct in its original language while losing necessary branches elsewhere.

Cardinal counts and ordinal positions also need separate consideration. “Three parcels” describes a quantity; “third parcel” identifies a position. Do not reuse the same message merely because both receive the integer three.

UTS #35’s number specification defines plural-rule operands, including information about visible fractional digits. Where fractional values are valid, test the representation used by the formatter as well as the mathematical value. Do not assume that every runtime treats one and a displayed one-point-zero identically.

For the parcel example, fractional counts are invalid under our proposed contract. The right response to 1.5 parcels is a data check, not an attempt to produce an elegant plural. A separate material-weight message could legitimately accept decimals. Grammar follows the kind of fact being communicated.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 12 · Build complete messages

4. Work through a parcel message from data to sentence

Back to contents

Consider this illustrative pattern using the long-standing ICU MessageFormat syntax described in the ICU message-formatting guide. The guide supports numeric plural selection, exact-value cases and complete submessages. It also explains that an other case is required for a plural argument. The syntax below is an English resource, not a universal template for every target language.

{parcelCount, plural, =0 {No parcels are ready for collection.} one {One parcel is ready for collection.} other {# parcels are ready for collection.}}

Validate the value against the parcel-count contract before formatting. The plural pattern does not itself establish that the input is a valid, non-negative parcel count.

Under our fictional contract, zero selects the specific empty-state sentence. One produces the singular English notice. Three produces “3 parcels are ready for collection.” All three branches concern collection readiness. None says the parcels have been delivered.

Now introduce a mistake: the zero branch says “All parcels have been collected.” It passes a superficial grammar review. It still says something the count cannot establish. Zero ready parcels could mean that nothing has been packed yet. The branch has converted an absence of ready items into a claim about completed collection.

Repair the claim before asking anyone to translate it. Then give each translator the complete branch set and permission to provide the categories their locale needs. Do not require them to preserve English sentence order. Preserve the defined event, count and action instead.

Keep exact-value cases rare and purposeful. If every possible number receives a separate sentence, the catalogue becomes difficult to review. Use a special branch when the user’s situation changes meaningfully, and ordinary grammatical selection when only the quantity changes.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 12 · Build complete messages

5. Keep grammatical choices separate from assumptions about people

Back to contents

A variable can change more than the noun beside it. In a proposed review, inspect the whole sentence: articles, verbs, pronouns and surrounding descriptions. The translator needs room to choose a natural construction, including one that avoids unnecessary agreement problems.

Suppose a dashboard says “Alex is responsible for collection.” The application knows an account’s display name and assigned role. It need not infer additional personal characteristics to render that fact. A message brief should state what information exists and what has not been supplied. Where a preferred form of address is relevant, use the person’s chosen setting through an appropriate product design.

Likewise, grammatical properties of a translated object label belong to the language resource. They should not be guessed from an English spelling at runtime. If a shared status fragment creates agreement problems, approve a complete message for the object or redesign the presentation as a clearly labelled status field.

A useful review question is: “Which facts did we add solely to make this sentence convenient?” If the answer includes an inferred identity, relationship or responsibility, reconsider the wording. A shorter neutral formulation may communicate the verified event more faithfully.

This is an editorial design choice, not a demand that every language sound alike. Ask a competent reviewer of the target language which forms are natural, respectful and precise for the stated audience.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 12 · Build complete messages

6. Treat placeholders as typed data with defined boundaries

Back to contents

Our proposed catalogue gives each placeholder a name and a contract. parcelCount is a non-negative integer; collectionDesk is a display label; collectionDeadline is a separately defined date or time value. A translator can move these variables, but should not silently substitute one for another.

Check both omission and duplication. Showing the desk name twice may merely be awkward. Omitting the deadline could remove a condition the reader needs. Whether repetition is acceptable depends on the language and message, so a checker should identify the change for review rather than reject every repeated variable automatically.

Formatting and rendering have different responsibilities. A message formatter combines a pattern and values; the web interface still needs the correct treatment of those values at the output boundary. OWASP’s output-encoding guidance distinguishes HTML, attribute, JavaScript and other contexts. Do not treat a placeholder value as trusted markup simply because it passed through a translation resource.

For the fictional dashboard, a desk called “North & West” should remain that label. The display layer must preserve its text without turning it into a formatting instruction. If a message needs a link, define a controlled component slot and its destination rather than inviting arbitrary HTML inside an ordinary name field.

The audit should therefore ask two separate questions: did the intended information survive, and was each value rendered through the appropriate interface mechanism? Passing one does not prove the other.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 12 · Render for the reader

7. Keep stored values separate from their presentation

Back to contents

ICU’s formatting overview distinguishes internal values from the strings displayed to users and provides locale-sensitive formatting facilities. This separation lets one underlying count or date receive an appropriate presentation without making the display string the authoritative business record.

In our example, store the collection count as a count. Render its numeral when constructing the notice. Do not later recover that count by extracting digits from the translated sentence. The message may spell out a number, move it or use a different numeral system. Its purpose is communication, not interchange between services.

A deadline needs an equally explicit contract. Decide whether it is a calendar date, a local closing time or an instant with a defined time zone. A translator cannot resolve that product ambiguity merely by choosing a familiar date format. The formatting layer should receive an already understood value.

Consider the fictional label “Collection by 04/05”. A reviewer should ask for the underlying date and intended audience before approving it. A clearer local presentation may use a month name or another appropriate format, but that repair must not guess whether the source meant April or May.

Number formatting also does not authorise unit conversion. Showing a weight in a reader’s preferred unit requires a separate, correct conversion policy. Localisation should reveal the value clearly while preserving its quantity, reference and precision.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 12 · Render for the reader

8. Give mixed-direction text a reliable reading boundary

Back to contents

A localised interface may combine right-to-left text, a Latin parcel identifier and a number in one notice. W3C’s inline bidirectional-text guidance recommends appropriate direction markup around inserted phrases. Where the direction is unknown, it describes dir="auto" on suitable wrapping markup or a bdi element when a wrapper is needed.

The design goal in our dashboard is straightforward: the identifier should stay recognisably attached to its parcel, and the quantity should remain attached to the relevant statement. Directional handling is part of the rendered message, not a request to reorder the stored characters by hand.

Create a fictional test record with an ordinary mixed-script display name, punctuation and a parcel identifier. Inspect the whole notice, its tooltip and any copied text separately. Those surfaces may use different rendering paths. A correct paragraph does not establish that a plain-text notification will behave the same way.

Keep the example benign and representative. Do not “repair” valid names by deleting unfamiliar characters or transliterating them without a product reason and the appropriate user choice. The problem to solve is presentation around the text.

For a practical review, ask a reader familiar with the target script to identify the desk, parcel and count from the rendered screen. If those relationships are unclear, a technically present value has still failed its communication task.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 12 · Render for the reader

9. Make language fallback a visible product decision

Back to contents

In our proposed design, a missing translation can fall back to an approved resource, but the system records what actually supplied the sentence. That makes it possible to distinguish a reviewed target-language message from a default-language substitute when investigating a report.

An automatically detected preference should also remain adjustable. W3C’s discussion of Accept-Language explains why the browser’s language preference alone should not determine all regional settings. It recommends allowing people to change language and specify relevant preferences more precisely.

For the parcel dashboard, choosing an interface language should not silently change the collection location, invent a time zone or substitute a different delivery policy. Those are separate facts. Keep the language selector reachable from the page where the reader is confused, and preserve the current task when the language changes.

Review fallback at the whole-message level. Combining half a translated sentence with a fallback fragment can recreate the grammar problem the message catalogue was meant to solve. A complete, clearly identified fallback notice may be easier to understand than a sentence that changes language halfway through.

For consequential instructions, decide in advance when the fallback is acceptable and when the interface should provide a supported alternative or human help. That is a product-specific comprehension decision. The presence of a string in the catalogue does not establish that the person receiving it can use it.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 12 · Review and release

10. Use AI as a proposed translator, then check the claims

Back to contents

An AI-assisted workflow should pass the message contract, complete branch set, terminology notes and permitted variable names together. Ask for translations in the catalogue’s required structure and for unresolved ambiguities to be identified. The translation output is then a candidate for review, not evidence that every message is correct.

For our example, a reviewer can ask whether “ready for collection” still describes the defined state. They can compare zero, one and several parcels, then examine whether the proposed action changed. This checks the relationship between language and the product event, rather than only whether the result resembles an English back-translation.

Protect terms with explanations, not just a list of forbidden substitutions. If “collection” means a customer picking up parcels, say so. A translation engine otherwise has insufficient context to distinguish that event from gathering data, a collection of objects or collecting a payment.

Keep the approved source revision beside the translation revision. If the product changes “ready” to “expected to be ready”, the added uncertainty requires new review. A cached translation of the old promise must not survive merely because the resource identifier stayed the same.

Record specific disagreements and the decision that resolves them. “Sounds better” may justify a stylistic preference; it does not resolve whether the notice promises availability. The useful output of review is a defensible meaning decision, with wording that the target audience can naturally understand.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 12 · Review and release

11. Test decisions and states, not only translated strings

Back to contents

Build a small test matrix around the message contract. For the fictional parcel notice, include zero, one and several ready parcels; a missing count; an invalid fractional count; a long desk label; an unavailable translation; and a state that changes while the screen is open. Add locale-specific grammatical examples selected from the rules and approved by a language reviewer.

Each case needs an expected interpretation. “The reader understands that three parcels can now be collected at this desk” is more useful than “the translation exists”. The first statement connects the test to the user’s task. The second only measures catalogue coverage.

Check the rendered screen at a narrow width, with enlarged text and through the interface’s accessible reading order. Ensure the variable and its description remain together. A translation can fit its database field while being clipped by a fixed-width button or separated from its context on a small display.

Include an intentional counterexample: supply a translated notice that says “delivered” for a ready-for-collection event. Your review should reject it even though all variables are present. Include a differently ordered but faithful sentence that should pass. This helps reveal whether the process rewards surface similarity instead of meaning.

Use failures to improve the contract or resource architecture. If several languages repeatedly require a larger message unit, revisit the boundary. Repeated manual workarounds can be evidence that the interface has given translators the wrong building blocks.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 12 · Review and release

12. A twelve-step localisation audit

Back to contents

The following is a proposed team workflow for this article’s fictional product. It combines technical checks with editorial decisions; it is not a certification scheme or an official Unicode checklist.

  1. Identify the event. State what happened and which system supplies that fact.
  2. Identify the reader. Describe the task and the action the notice should support.
  3. Define key terms. Explain included and excluded meanings of status words.
  4. Choose the message boundary. Give the translator enough text to produce a complete statement.
  5. Specify every variable. Record its type, meaning, allowed range and missing-value behaviour.
  6. Separate selection rules. Distinguish exact-value product states from grammatical categories.
  7. Provide context. Include surrounding controls, screenshots and realistic fictional values.
  8. Check catalogue structure. Validate syntax, variable names and required fallback branches.
  9. Review target-language meaning. Check the event, uncertainty, conditions and intended action.
  10. Inspect presentation. Test numbers, dates, direction, wrapping and accessible reading order.
  11. Exercise fallback. Confirm what appears when a preferred resource is unavailable.
  12. Release with a record. Save the approved source, translation, reviewer decisions and regression cases.

Start with one frequently used notice and finish the entire path. That gives the team an example it can repeat. Expanding the same discipline across a product is more useful than collecting a large glossary while leaving the actual messages untested.

When a reported misunderstanding appears, preserve the exact resource revision and rendered variables that produced it. Repair the affected branch, inspect related states and add the case to the review set. A localisation catalogue then becomes an accountable language system, with a connection between words, facts and reader actions.

Contents · Previous chapter · Continue reading the series

Frequently asked questions

Is localisation just translation with extra formatting?

It includes adapting a product for a particular language and locale. W3C distinguishes localisation from internationalisation: the former adapts the experience, while the latter designs the product so such adaptation is possible. Our workflow concentrates on user-facing messages and the meanings they carry.

Should every interface label become a full sentence?

No. A clear independent label can remain short. The important question is whether a string depends grammatically or semantically on another fragment. Give translators enough context and control to express the complete relationship, whether the interface uses a sentence, heading or labelled field.

Does the plural category one always mean exactly one?

No. It is a category label interpreted through a locale’s rules. An exact numeric condition and a grammatical category serve different purposes. Use explicit product logic for a special numeric state, and the appropriate language rules for the resulting message.

Can I copy English plural branches into every language?

Use them to explain the source meaning, but let the target-language resource supply the distinctions it needs. A source catalogue is not a complete grammar for all languages. Review both the target branch coverage and the meaning expressed in each branch.

Why use named placeholders instead of numbered slots?

Descriptive names can make review easier: collectionDesk explains more than slot2. Names still need a contract, because a label alone cannot define a value’s scope or validity. The translator should know what each variable represents and which values are possible.

Should translated text be allowed to contain HTML?

That depends on the product’s controlled rendering design. Ordinary names and values should remain data. If rich content is required, define approved components and use the framework’s appropriate handling. A message catalogue should not silently grant arbitrary markup permission to every variable.

Can one translation of ready be reused everywhere?

Only where the meaning and grammatical use are suitable. A ready machine, a ready parcel and a ready person may require different wording. Reuse the approved concept explanation where helpful, while allowing distinct messages for different events and contexts.

Does a successful back-translation prove correctness?

It provides another view of the wording, but it does not establish that the displayed message preserves the product’s conditions. Compare the translation with the underlying event and ask an appropriate reader what they understand and would do next.

What should happen when a count is missing?

Define that state separately from zero. In the fictional dashboard, an unavailable count cannot justify saying that no parcels are ready. The product might show a temporary availability message or request a refresh, depending on its actual data and user task.

Should a browser language determine the user’s location?

Treat language preference and location as separate information. A person can use a language while living elsewhere. Ask for or use the relevant explicit setting when location, time zone or collection details materially affect the message.

Can AI handle the whole localisation release automatically?

A team can automate parts of its workflow, but it still needs acceptance criteria and evidence for the intended use. Validate catalogue structure, review meaningful changes and test representative rendered states. This article makes no claim that one review method guarantees flawless translation.

What is the smallest useful first step?

Choose one notice that carries a real action, such as collection readiness. Write its meaning contract, list its variables, repair ambiguous source wording and test a small set of states with a target-language reviewer. Use that completed example to improve the surrounding catalogue.

Primary sources and further reading

The parcel dashboard, message contracts, review questions and twelve-step audit are fictional examples and proposed practices developed for this article. Unicode CLDR, ICU and W3C supply the cited language-processing and internationalisation foundations; they do not certify this workflow or guarantee semantic equivalence. The worked pattern illustrates the long-standing ICU MessageFormat syntax and makes no claim about the latest MessageFormat release. Source pages were checked on 26 November 2026. No real customer records are used.

Back to contents