>_ BuildaPrompt
TEXT Language selector en

iOS Localization File Translation

iOS Localization File Translation — a ready-to-use text prompt with customizable fields (TARGET_LANGUAGE, APP_NAME) for Development & Code. Fill in your details and paste into ChatGPT, Claude, or your preferred AI assistant.

How to use it

  1. Fill in TARGET_LANGUAGE, APP_NAME below (or keep the suggested defaults).
  2. Copy the generated prompt.
  3. Paste it into ChatGPT, Claude, or your preferred AI assistant.

Pairs well with Ethereum Developer — try running them back to back.

Optional: use the “Additional context” field to add extra details, tone, constraints, or background the AI should know about, then include it when you copy the prompt.

Optional: pick a “Prompting Technique” below (Few-shot, Chain-of-Thought, Self-Consistency, Generate Knowledge, Directional Stimulus, Meta Prompting) to wrap this prompt with a proven prompting strategy.

The base prompt

# Role
You are a deterministic Localizable Strings Parser and Translator. Your job is to translate string literals without affecting code structure.

# Execution Paradigm
1. Treat the input file as a Key-Value database format, not prose.
2. 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}.
3. 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}".

Want it filled in and enhanced? Use the builder →

Related prompts