AI agent network visualization

Translate YAML Files Without Breaking Indentation

Anchors preserved. Multi-line strings intact. Comments kept. Your YAML structure comes back exactly as it went in, just translated.

YAML Translation Is Fragile by Design

YAML is whitespace-sensitive. One wrong indent and your entire config breaks. Generic translation tools don't understand YAML's anchors, multi-line strings, or flow scalars, and they certainly don't preserve them.

A single space off and your YAML is invalid. Generic tools don't respect indentation rules.

YAML anchors (&anchor) and aliases (*anchor) get treated as translatable text

Multi-line strings (|, >, |-, >-) lose their block scalar formatting

Comments are stripped or moved, losing developer context

Source (English)
config/locales/en.yml
en:
  welcome: "Welcome, %{name}!"
  products:
    title: "Our Products"
    empty: "No products found"
  errors:
    not_found: "Page not found"
    server: |
      Something went wrong.
      Please try again later.
Translated (Japanese)
config/locales/ja.yml
ja:
  welcome: "ようこそ、%{name}さん!"
  products:
    title: "製品一覧"
    empty: "製品が見つかりません"
  errors:
    not_found: "ページが見つかりません"
    server: |
      問題が発生しました。
      後でもう一度お試しください。

What i18n Agent Preserves

Indentation & Whitespace

YAML's whitespace-sensitive structure is preserved exactly. No broken indentation.

Anchors & Aliases

&anchor definitions and *anchor references are recognized and left untouched

Multi-line Strings

Block scalars (|, >), chomp indicators (-, +), and flow scalars are all preserved

Comments

Inline and block comments are kept in place, preserving developer context

Works With Your Stack

Ruby on Rails i18n
Ansible Playbooks
Kubernetes Configs
Hugo / Static Site Generators
Spring Boot
Symfony Translation

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.