Android strings.xml Translation Tool

Android strings.xml with CDATA and string-array support

Без реєстрації Від $19 Безпечно для змінних

Проблема

  • CDATA sections break in generic XML parsers
  • HTML entities (&, <) get double-encoded
  • String-array structure gets lost
  • Format specifiers %1$d translate incorrectly

Рішення

  • Android-aware XML parser preserves CDATA
  • HTML entities handled correctly
  • String-array and plurals structure preserved
  • Format specifiers (%1$d, %s) locked

До і після перекладу

Подивіться, як виглядають файли Android XML до і після перекладу ШІ. Змінні залишаються незмінними.

Оригінал (англійська)

Кількість слів: 28
<resources>\n  <string name="greeting">Hello {player_name}!</string>\n  <string name="newline">Line 1\nLine 2</string>\n  <string-array name="items">\n    <item>Sword</item>\n    <item>Potion</item>\n  </string-array>\n  <string name="count">%1$d items found</string>\n</resources>

Переклад (іспанська)

28+ мов
<resources>\n  <string name="greeting">¡Hola {player_name}!</string>\n  <string name="newline">Línea 1\nLínea 2</string>\n  <string-array name="items">\n    <item>Espada</item>\n    <item>Poción</item>\n  </string-array>\n  <string name="count">%1$d objetos encontrados</string>\n</resources>

Увага: усі змінні (наприклад, {pattern}) залишаються повністю незмінними в перекладеній версії.

Шаблони захисту змінних

Файли Android XML містять спеціальні шаблони, які ніколи не слід перекладати. Наш ШІ автоматично їх блокує.

Locked
{player_name}

Curly braces

Locked
%1$d

Android format

Locked
%s

Printf

Preserved
<![CDATA[

CDATA

Preserved
&amp;

HTML entity

Готові локалізувати свою гру Android?

Завантажте файл Android XML і отримайте переклад зі збереженням змінних за 24 години. Без реєстрації. Від $19 за файл.

24 години · Захист змінних · 28+ мов

Translate Android strings.xml online — without breaking your app

Your res/values/strings.xml is where every language version of your app starts. Translating it by hand means keeping %1$s, %2$d and string-array blocks in sync across values-es/, values-fr/ and a dozen more folders — the kind of busywork that eats a release week. Generic AI tools see %1$d and happily translate it into broken text. LocaFile AI is an Android strings.xml translator that locks your format specifiers before the AI ever sees them.

Upload your strings.xml, pick a pass, and get back files ready to drop into res/values-<lang>/ — 28 languages, same keys, same structure, only the values translated. No login required, pay-per-pass from $19, engine-aware instead of a generic XML shortcut.

A string.xml translator that respects Android resource rules

LocaFile AI parses strings.xml the way Android actually reads it: <string>, <string-array> and <plurals> nodes are handled separately, CDATA sections and HTML entities are preserved byte-for-byte, and positional format specifiers (%1$s, %2$d) are locked so plural rules and String.format() calls keep working in every language.

The result is a file you can drop in and ship — not a translation you have to hand-repair. That is the point of an Android XML translation tool that understands the format it translates.

Android strings.xml translation — FAQ

How do I translate Android strings.xml online?

Upload your strings.xml, choose your languages, pay for a pass, and download the translated files. No login required — your download link is your recovery key. Pay-per-pass from $19, with no per-word or per-language fees.

Is there an Android string translation tool that localizes strings.xml automatically?

Yes — LocaFile AI is an engine-aware strings XML translator. It parses res/values/strings.xml the way Android does, locks format specifiers, translates the values, and returns files ready to drop into values-<lang>/. From $19 per pass, no login, no subscription.

Will translating strings.xml break my %1$s or %1$d format specifiers?

No. Positional format specifiers like %1$s, %2$d and %s are locked with regex token replacement before the AI sees your text, then restored byte-for-byte after translation. Your String.format() calls keep working in every language.

Does it handle string-array and plurals?

Yes. string-array and plurals blocks are parsed and translated as their own structures, so item order and plural quantities stay intact.

Where do I put the translated strings.xml files?

Each translated file drops straight into res/values-<lang-code>/strings.xml — for example values-es/ for Spanish. Keep the same filename and Android picks the files up automatically.

What about CDATA sections and HTML entities?

CDATA sections are preserved byte-for-byte and HTML entities are left alone, so rich text and encoded characters are not double-encoded or mangled.

How much does translating Android strings cost?

From $19 per pass, one-time, no subscription. You choose how many languages you need — the pass covers them. No per-word pricing, no login required.