Prepare app texts for translation
Prompt that makes an application translatable: language files, placeholders, plurals and formats per language. Paste it into an AI tool of your choice, which then prepares the app for translation.
- Topic
- Apps & prototypes
- Type
- Prompt
- Level
- Intermediate
- Time
- about 10 min
Results depend on the tool, the model and what you enter.
Result preview
Example: written by our editors, not real AI output.
Findings: 46 hard-coded texts, 9 of them in error messages and 4 in email templates Language file (excerpt): cart.empty = Your cart is empty. cart.count = {count, plural, one {# item} other {# items}} order.delivery = Expected to arrive on {date}. Changed: "You have " + n + " items" → one key with a placeholder Formats: dates and prices through the formatting function per language Layout: the "Checkout" button has a fixed width → breaks in longer languages Test: pseudo-language with 40% longer texts
Fill in
What you type stays in this browser window. We store and send nothing.
- web app with customer accounts
- mobile app
- online shop
- internal admin tool
- email templates of a service
- English and French
- Spanish and Italian
- Arabic
- Japanese and Korean
- still open
- React
- Vue
- Django
- Ruby on Rails
- Flutter
Your prompt
You have edited the prompt. Changes in the fields above no longer overwrite it.
This is an instruction for an AI, not the result itself.
Where this prompt works
These AI tools are a good fit for this prompt:
How to use it
- Fill in the fields or tap a suggestion. Leave out names, addresses and other personal data.
- Copy the finished prompt into an AI tool of your choice.
- Switch on a pseudo-language with longer texts and special characters for testing. Hard-coded and cut-off texts then stand out immediately.
Why does this work?
Translators can only do good work when whole sentences with context sit in the language files. Sentences assembled from word fragments cannot be built correctly in many languages.
Tips
- Give every key a short note on where the text appears and how much space it has.