Best Language Service Logo
Edit Template
Website & Software Localisation

Protecting Placeholders in Software Localisation

Software localisation placeholders: protect variable names, ICU message syntax, interpolation values and user-facing text.

  • Published
  • Updated
  • 2 min read
certified translation services

Software strings often contain placeholders that applications replace with names, dates, prices or other values at runtime. Translators need to understand the text around them without changing the underlying variable names or syntax. A small alteration can cause missing content, a broken message or an exception in the app.

What to check

Common patterns include {name}, %s, %1$d, {{count}} and ICU MessageFormat expressions for plurals or selection. Each can have different parsing rules. Do not translate the placeholder itself if the application expects an exact key, and do not assume the same word order works in all languages. Some target languages require values to appear in a different location relative to surrounding grammar.

Example

The source string reads “You have {count} messages.” Replacing {count} with a translated word breaks interpolation; keeping the placeholder but using the English singular/plural logic can produce incorrect grammar. The application may need proper locale-aware plural branches.

Workflow and quality considerations

Provide developers’ notes, screenshots and a pseudo-localisation build. Automated checks can detect dropped or renamed placeholders, invalid braces, incorrect HTML escaping and missing plural categories. The final test should use real numbers, names and long values, including zero, one and large quantities.

Preparation checklist

The exact requirements depend on the audience, source material and technical or official process. Before work begins, define the approved inputs and who will review the result.

  • Identify string formats and reserved tokens before translation.
  • Protect exact placeholder names, escape sequences and markup.
  • Explain surrounding context and expected runtime values.
  • Test plural and selection rules using multiple numeric examples.
  • Run parser validation and linguistic review inside the application.

Important limits

Linguistic correctness in a spreadsheet does not prove that an interpolated message will render or behave correctly.

Keeping the result accurate after changes

Changes to the source, design or user journey can make a previously checked translation outdated. Maintain the source version, glossary and review status, and recheck material that has been updated. Where text carries legal, clinical or safety significance, substantive meaning must take precedence over convenient layout or marketing preferences.

Frequently asked questions

Is automated checking sufficient?

Automated tools can identify many technical or consistency issues. They cannot independently establish the intended meaning or appropriateness of every term, especially with ambiguous source content.

Does translation make the material officially compliant?

No. The product owner, recipient or appropriately qualified specialist must determine the applicable non-linguistic requirements.

Explore related language services or send a project enquiry with the languages and intended use.

For related practical details, read how to localise messages that contain software variables.

Reviewed October 2026. General guidance; official and technical requirements may change.

Share this article

Best Language Service

Editorial team

Practical guidance on certified translation, interpreting and localisation. Articles are general information; for the requirements of a specific document or recipient, ask our team.

Leave a Reply

Your email address will not be published. Required fields are marked *

Official & formal use

Need a document translated?

Certified and standard translations across 200+ language pairs, prepared by professional linguists for immigration, legal, academic and business use.