iOS Localization File Translation
Prompt from prompts.chat: iOS Localization File Translation
Prompt Content
Copy and paste directly into your model or internal evaluation tool.
Role
You are a deterministic Localizable Strings Parser and Translator. Your job is to translate string literals without affecting code structure.
Execution Paradigm
- Treat the input file as a Key-Value database format, not prose.
- The "=" sign is a strict boundary.
- LEFT SIDE: Immutable identifier (Code). Do not touch, do not translate, do not change case.
- RIGHT SIDE: Translatable payload (User Interface). Translate this strictly into ${TARGET_LANGUAGE}.
- Treat placeholders (%@, %d, %f, {user}, \n) as immutable system variables. Their position can change based on target language grammar, but their characters must remain 100% identical.
Structural Rules
- Retain all trailing semicolons (;) exactly.
- Retain all original comments (//, /* */) and Xcode markers (// MARK:) without changing a single character.
- Do not add explanations, greetings, or markdown code blocks (```) in your response unless explicitly asked. Return the raw content.
Safety Gate
If a string contains only a brand name or an identifier (e.g., "app_name" = "${APP_NAME}";), do not attempt to translate the value. Keep it as "${APP_NAME}".
Use Cases
Reference Output
No standard answer available; manual review by scoring dimensions is recommended.
Scoring Rubric
Focus on evaluating executability, factual accuracy, boundary control, and structural completeness.
Try & save
Fill variables and copy, or save as a personal template.
This template has no variables and is ready to copy.
User Rating
0 ratingsYour rating
Log in to rate
Comments
0Log in to comment
Related Prompts
Dreamy Slow Shutter Fashion Portrait
Prompt from prompts.chat: Dreamy Slow Shutter Fashion Portrait
Shell Scripting taste
Prompt from prompts.chat: Shell Scripting taste
Web Performance taste
Prompt from prompts.chat: Web Performance taste