Skip to content

How can I keep names, filenames and identifiers unchanged during AI translation?

List exact strings that must remain unchanged and verify every occurrence after translation. Separate product names, filenames, identifiers and literal interface labels from ordinary prose. Use placeholders only in a controlled process that restores the original strings reliably; never assume a model will preserve every technical token just because the prompt requests it.

REVIEW AND ORGANIZE CREATIVE WRITINGAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Inventory locked strings; Translate surrounding prose; Run an exact comparison.
Workflow diagram: Inventory locked strings → Translate surrounding prose → Run an exact comparison. Read the article for evidence and limits.

Preserve exact strings independently of translated prose

A small change in a filename or interface label can make a translated instruction hard to follow. This guide handles exact entities in supplied copy rather than general terminology choice. Some labels have official localized forms, which should be supplied explicitly instead of invented.

What to do next

  1. 01

    Inventory locked strings

    Extract names, paths, identifiers and literal labels with their approved spelling. Record any official localized forms separately and decide which form the reader must recognize in the actual destination interface.

  2. 02

    Translate surrounding prose

    Mark locked strings clearly in the request and ask the model to leave them unchanged. If using placeholders, maintain a separate mapping and check that repeated placeholders are restored consistently.

  3. 03

    Run an exact comparison

    Compare the final strings character by character with the ledger. Inspect punctuation, capitalization and visually similar characters, then test whether the resulting instruction points to the correct named item.

A concrete example

Illustrative example: A guide refers to master-final.png and an interface button labeled Export. The translation initially changes the filename and invents a localized button label absent from the application. The reviewer restores both exact strings while keeping the surrounding explanation in the target language.

Entity lock worksheet

String typeRuleCheck
FilenamePreserve exact spellingCharacter comparison
Product nameUse approved formNo invented translation
Button labelMatch actual interfaceOfficial localized form only

Before you call it ready

  • Locked strings match the approved ledger.
  • Official localized labels are supplied explicitly.
  • Placeholder restoration receives exact verification.

When to stop or choose another method

Leave an interface label untranslated when no verified localized label exists and readers must recognize its current wording.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation