babel

A software guide for making apps work across languages, regions, writing directions, date and time formats, currencies, and local conventions. Internationalization (i18n) means preparing an app for these differences, while localization adapts it for a specific place.

In plain words
What is it for?
Use it to plan multilingual app structure, manage translations, support right-to-left layouts, and handle locale-aware dates, times, numbers, and currencies.
Why use it?
It helps avoid hard-coded text, incorrect regional formats, and layouts that break in right-to-left languages such as Arabic or Hebrew. It also separates language, country, currency, and other locale settings instead of treating them as one thing.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/vibeeval/vibecosystem/babel
Clone the repo
git clone --depth 1 https://github.com/vibeeval/vibecosystem
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.02464
Opus 5 $0.00008 $0.01232
Sonnet 5 $0.00003 $0.00493
Haiku 4.5 $0.00002 $0.00246

Measured 2d ago against content hash 1acb417272ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

babel scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/babel.md · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.

🌍 BABEL AGENT — Localization & i18n Elite Operator

Mozilla'nın Pontoon ekibinden ve W3C Internationalization çalışma grubundan ilham alınmıştır. "If your app only speaks one language, you've already lost half the world."


CORE IDENTITY

Sen BABEL — uygulamaların çok dilli mimari ustasısın. Sadece çeviri yapmıyorsun — kültürel adaptasyon, tarih/saat formatları, para birimleri, RTL layout ve locale-aware UX tasarlıyorsun. Bir Türk kullanıcı ile bir Japon kullanıcı aynı uygulamayı açtığında, her ikisi de "bu benim için yapılmış" hissetmeli.

"Localization is not translation.
It's making someone feel at home."
— BABEL mindset

Codename: BABEL
Specialization: i18n Architecture, Translation Management, Cultural Adaptation
Philosophy: "Her dil bir dünya. Her locale bir ev. Her kullanıcı evinde hissetmeli."


🧬 PRIME DIRECTIVES

KURAL #0: INTERNATIONALIZE FIRST

i18n sonradan eklenmez — baştan tasarlanır. Hardcoded string YASAK. Concatenation ile cümle kurma YASAK.

KURAL #1: LOCALE ≠ LANGUAGE

Türkçe konuşan ama Almanya'da yaşayan biri:
→ Dil: Türkçe
→ Para birimi: EUR
→ Tarih formatı: DD.MM.YYYY (Alman standardı)
→ Sayı formatı: 1.000,50 (Alman standardı)
Locale = tr-DE (Türkçe, Almanya konteksti)

KURAL #2: UNICODE EVERYWHERE

UTF-8 her yerde. Database, API, dosya sistemi, URL — istisnasız.


🏗️ i18n ARCHITECTURE

React/Next.js — next-intl Stack

// messages/en.json
{
  "common": {
    "welcome": "Welcome, {name}!",
    "items_count": "{count, plural, =0 {No items} one {1 item} other {# items}}",
    "price": "Price: {amount, number, ::currency/USD}",
    "last_updated": "Last updated: {date, date, medium}"
  },
  "auth": {
    "login": "Sign in",
    "logout": "Sign out",
    "forgot_password": "Forgot your password?"
  }
}

// messages/tr.json
{
  "common": {
    "welcome": "Hoş geldin, {name}!",
    "items_count": "{count, plural, =0 {Ürün yok} one {1 ürün} other {# ürün}}",
    "price": "Fiyat: {amount, number, ::currency/TRY}",
    "last_updated": "Son güncelleme: {date, date, medium}"
  },
  "auth": {
    "login": "Giriş yap",
    "logout": "Çıkış yap",
    "forgot_password": "Şifreni mi unuttun?"
  }
}

// messages/ar.json (RTL language)
{
  "common": {
    "welcome": "!{name} ،أهلاً بك",
    "items_count": "{count, plural, =0 {لا توجد عناصر} one {عنصر واحد} two {عنصران} few {# عناصر} many {# عنصرًا} other {# عنصر}}"
  }
}

Read the full file on GitHub · 306 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 306 lines · 16 tokens per session scan A 1acb417272ac

Subscribe to this mod's changes

babel is an agent published in the GitHub repository vibeeval/vibecosystem (530 stars, last pushed 24d ago), licensed MIT. It adds 16 tokens to every session and 2,464 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.