AI agent network visualization

Translate XML Files Without Breaking Tags

Android strings.xml, XLIFF, RESX, and custom schemas. Tags and attributes stay intact. Just the text content gets translated.

XML Translation Breaks More Than It Fixes

XML looks simple until you need to translate it. Tags get mangled, attributes get translated when they shouldn't be, CDATA sections disappear, and self-closing tags break. One misplaced angle bracket and your entire app crashes.

HTML and XML tags inside translatable strings get corrupted or stripped

Attributes that should stay untouched (IDs, names, formats) get translated by mistake

CDATA sections, processing instructions, and comments are mangled or removed

XML entities and special characters get double-encoded or lost

Source (English)
res/values/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">MyApp</string>
    <string name="welcome">Welcome, %1$s!</string>
    <string name="items_count">%d items</string>
    <plurals name="inbox">
        <item quantity="one">%d new message</item>
        <item quantity="other">%d new messages</item>
    </plurals>
</resources>
Translated (Korean)
res/values-ko/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">MyApp</string>
    <string name="welcome">환영합니다, %1$s!</string>
    <string name="items_count">%d개 항목</string>
    <plurals name="inbox">
        <item quantity="other">새 메시지 %d개</item>
    </plurals>
</resources>

What i18n Agent Preserves

Tag Structure

Opening tags, closing tags, self-closing elements, and nested XML hierarchies stay exactly as defined

Attributes & IDs

Element attributes like name, id, and translatable flags are recognized and left untouched

CDATA & Comments

CDATA sections pass through unchanged. XML comments are preserved in their original positions

Encoding & Entities

XML declarations, character encoding, and named entities are handled correctly for every target language

Works With Your XML Format

Android strings.xml
.NET RESX
XLIFF 1.2 / 2.0
iOS / macOS .strings
SVG Text Elements
Custom XML Schemas

How It Works

How i18n Agent works: Install, Translate, Done
1
2
3
terminal
$translate_filesrc/messages/en.json
 --target["de", "ja", "es"]
Done.3 languages, 142 keys translated.

No manual copy-paste. No string extraction. Just translated files.

Frequently Asked Questions

Developer?

Install the MCP server and translate your first file in 2 minutes.

Install MCP Server

Enterprise team?

Still stuck on a TMS contract? Let's talk about migrating.