All categories/Translation and localisation
Localisation and release · Level Advanced · Localisation Audit Localisation
Hard-coded strings: what is still Chinese
A few strings always stay untranslated.
Prompt
Localisation is more than words: date formats, currency, faces in images, legal requirements. Without them the text reads foreign.
Task: A few strings always stay untranslated.
[Before you start, do three things]
1. Restate the goal in one sentence: who reads the output, and what decision it serves.
2. If I have not given you the following, ask me. Do not assume:
- code structure and framework
- known gaps
- i18n library used
- release cadence
3. Say how you plan to do it (at most 5 steps) and wait for my go-ahead.
[Go through each of these]
- scan source, rendered pages and text inside images
- classify: hard-coded, concatenated, third-party
- a pre-release checklist
- how to prevent recurrence
[Process]
1. List every localisable element: text, formats, images, law
2. One rule set per market
3. Check for hard-coded strings
4. Design a verification
5. Say what should stay untranslated
[Output]
Element list, market rules, gap check, verification.
[Do not]
- Never translate only the UI strings
- Do not ignore plurals and gender
- One format never fits all markets
- Never force-translate a brand nameWhat to state before it starts
Leave these unsaid and the model fills them with an assumption. Most 'wrong answers' start here.
- code structure and framework
- known gaps
- i18n library used
- release cadence
Go through each of these
Where this kind of work most often goes wrong. Already in the prompt, so you do not have to remember it.
- scan source, rendered pages and text inside images
- classify: hard-coded, concatenated, third-party
- a pre-release checklist
- how to prevent recurrence