i18n-mcp
Provides framework-aware AST scanning, i18n plan generation, safe source replacement, and validation for Angular projects, including HTML templates and Angular Material text sinks with @ngx-translate/core, @angular/localize, or transloco.
Translates missing i18n keys through DeepL with context, formality, and glossary support, with non-blocking fallback to offline dictionaries when unconfigured or unavailable.
Supports Flutter/Dart projects by detecting Text/TextField/SnackBar/AppBar strings, generating ARB-backed i18n plans, translating and validating ARB catalogs, and applying safe source changes.
Detects and works with i18next/react-i18next access patterns, hooks, namespaces, and resource catalogs, and can generate TypeScript resource typings for compile-time key safety.
Supports Next.js Pages and App Router projects with React text-sink detection, metadata extraction, next-intl/next-i18next/react-i18next namespace handling, plan generation, and safe migration.
Supports Vue/Nuxt SFC text sinks and vue-i18n or @nuxtjs/i18n configurations, generating and applying i18n migration plans and validating catalogs.
Translates missing i18n keys through OpenAI with context-aware prompts, UI-role inference, formality, and glossary support, optionally using an API key.
Provides AST-based detection and migration for React/TSX/JSX projects, including React Native and React web text sinks, with react-i18next/i18next support, plan generation, replacements, and validation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@i18n-mcp scan my React Native app for hardcoded strings and generate an i18n plan"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Multi-Framework i18n MCP Server (@fakhrii/i18n-mcp)
Production-quality Model Context Protocol (MCP) server for automated internationalization across React Native, React (web), Next.js, Flutter, and Angular projects.
Designed for AI coding agents (Antigravity, Claude Code, Cursor, Gemini CLI, etc.) to inspect projects, detect hardcoded user-facing strings with AST precision, understand existing i18n architectures, resolve ambiguous text candidates collaboratively, generate semantic translation keys, translate them, replace source code safely, and validate results.
Supported Frameworks
Framework | Language / AST | Detection & Text Sinks | i18n Libraries |
React Native | TypeScript, TSX, JS, JSX |
|
|
React (Web) | TypeScript, TSX, JS, JSX |
|
|
Next.js | TypeScript, TSX, JS, JSX | React text tags, |
|
Flutter | Dart |
|
|
Angular | TypeScript, HTML | HTML templates ( |
|
Vue / Nuxt | TypeScript, JavaScript, Vue SFC |
|
|
Related MCP server: kaeris-mcp
⚡ Quick Start: 1-Click Agent Setup
Initialize the MCP server and /internationalize skills for your AI coding agent (Antigravity, Claude Code, Cursor) in a single command:
1. In your current project (Per-Project)
npx -y @fakhrii/i18n-mcp initThis automatically:
Scaffolds
.agents/skills/internationalize/SKILL.md(for Antigravity & Gemini CLI).Scaffolds
.claude/skills/internationalize/SKILL.md(for Claude Code).Configures
.cursor/mcp.json(for Cursor IDE).
2. Globally across all projects (Recommended)
npx -y @fakhrii/i18n-mcp init --globalThis automatically:
Installs the skill into
~/.gemini/config/skills/internationalize/SKILL.md(active across all Antigravity projects).Registers the MCP server in
~/.gemini/config/mcp_config.json.Configures Claude Desktop (
claude_desktop_config.json).
Key Principles & Innovations
Framework Adapters Architecture: Decoupled core i18n engine with dedicated adapters (
IFrameworkAdapter) that normalize component sinks, text props, feedback callees, and hook conventions per framework.Two-Stage Hybrid String Detection:
Stage 1 (Deterministic AST Fast-Pass): Categorizes 90%+ strings with zero latency using the 4-Pillar classifier (Structural Text Sinks, Code Token Filtering, Inverted Non-Sink Default, Semantic Role Tagging). Obvious UI is marked
CONFIRMED_UI; code tokens/styles/URLs areCONFIRMED_TECHNICAL; boundary cases are taggedAMBIGUOUS.Stage 2 (Agent Semantic Batch Resolution): Coding agents (or developers) inspect ambiguous candidates and provide structured decisions via
candidateDecisions: { [candidateId]: boolean }togenerate_i18n_planorinternationalize.
AST First, Regex Second: Precision parsing of AST nodes rather than fragile regular expressions.
Safety First & Conservative Defaults: Dry-run by default (
dryRun: true, apply: false). Stale-plan protection with source SHA-256 hashes prevents accidental overwrites.Human-in-the-Loop Orchestration: Generates deterministic unified diff previews for review before disk mutations occur.
MCP Tools
analyze_project
Analyzes a project without modifying any files.
Inputs:
projectPath(string, optional)Returns:
framework: React Native / React / Next.js / Flutter / Unknownlanguage: TypeScript / JavaScript / DartpackageManager: npm / yarn / pnpm / bun / flutter pubi18n: Library (react-i18next,next-intl,flutter_localizations, etc.), locale directory, source and target locales, config filenamespaces: Existing and inferred namespacesprojectStructure: Feature and screen directory layoutaccessPatterns: Detected hooks and translation functions (useTranslation,t,i18n.t,Trans, etc.)warnings: Actionable warnings (missing target locales, inconsistent namespace files, malformed JSON/ARB)
scan_hardcoded_texts
Scans a React Native project (as well as React, Next.js, and Flutter) or requested scope for hardcoded strings using AST analysis without modifying any files.
Inputs:
projectPath(string, optional): Project root directory.scope(string | string[], optional): Single file, directory, or glob pattern.include/exclude(string[], optional): Custom inclusion/exclusion globs.onlyUserFacing(boolean, optional, defaulttrue): If false, includes technical strings.minConfidence(number, optional, default0.0): Confidence score filter (0.0 to 1.0).ambiguousOnly(boolean, optional, defaultfalse): If true, returns only ambiguous strings requiring agent/human resolution.
Returns:
Detections with
id(file:line:col),file,line,column,text,type,classification,confidence,semanticRole(CONFIRMED_UI,CONFIRMED_TECHNICAL,AMBIGUOUS),suggestedNamespace,suggestedKey, andvariables.
generate_i18n_plan
Analyzes detected hardcoded strings and produces a complete, deterministic, reviewable i18n migration plan with zero filesystem mutations.
Inputs:
projectPath/scope/include/exclude: Scope parameters.sourceLocale/targetLocales: Locale settings.confidenceThreshold(number, optional, default0.7): Minimum score for automatic replacement.includeAmbiguous(boolean, optional, defaultfalse): Include ambiguous strings marked for review.candidateDecisions(record, optional): Map of candidate ID or text to boolean decision (true= approve as user-facing,false= skip as technical).
Returns: Complete
I18nPlanincluding replacements, hook insertions, new translation keys, and source hashes.
apply_i18n_plan
Safely and atomically applies an approved i18n migration plan to the project (React Native, React, Next.js, Flutter).
Inputs:
planorplanPath: The approvedI18nPlan.dryRun(boolean, optional, defaultfalse): Calculates changes and returns diffs without modifying files.createBackup(boolean, optional, defaultfalse): Creates.bakcopies before writing changes.failOnWarnings(boolean, optional, defaultfalse): Aborts if warnings exist.
Returns: Applied changes summary, modified files list, and diff preview.
translate_i18n
Translates missing keys across target locale files (JSON or Flutter ARB) using pluggable cloud translation providers (deepl, openai, gemini), built-in dictionaries, custom glossaries, or AI agent translations with Context-Aware Prompting without overwriting existing translations.
Inputs:
projectPath: Project root directory.sourceLocale,targetLocales: Locales to translate.namespaces: Target namespaces to translate.provider("auto"|"deepl"|"openai"|"gemini"|"dictionary", optional, default"auto"): Cloud translation provider. Completely optional and non-blocking; seamlessly falls back to offline dictionaries if unconfigured, offline, or timed out.apiKey(string, optional): Cloud translation API key (or setDEEPL_API_KEY,OPENAI_API_KEY, orGEMINI_API_KEYin environment).formality("formal"|"informal"|"neutral", optional): Desired tone / grammatical formality (e.g. German "Sie" vs "du", French "vous" vs "tu", Spanish "usted" vs "tú").context(object, optional): Explicit contextual clues includingrole("BUTTON", "TITLE", "PLACEHOLDER"),componentName,elementTag,propName,filePath,description,maxLength, andsurroundingText.glossary(object, optional): Brand glossary containingneverTranslatebrand terms andtermsdictionary mappings.dryRun: Preview translation changes without writing to disk.providedTranslations(optional map of{ [locale]: { [key]: translation } }).
Context-Aware Intelligence:
Automatically infers UI role classifications from key naming conventions (e.g.
*_BUTTON,*_TITLE,*_PLACEHOLDER,*_ERROR,*_TOOLTIP,*_NAV).Automatically extracts Flutter ARB
@key.descriptiontranslator notes to guide LLM disambiguation and parts of speech.Injects structured context clues into OpenAI system prompts, Gemini instructions, and DeepL API context & formality parameters.
validate_i18n
Validates i18n implementation for missing translations, interpolation variable mismatches, orphan keys, unused dead keys, and malformed files across JSON and ARB catalogs.
Inputs:
projectPath,locales,namespaces,checkSourceCode,checkUnusedKeys,pruneUnusedKeys,scope.
generate_i18n_types
Generates compile-time TypeScript definitions (resources.d.ts) with module augmentation for i18next / react-i18next / next-intl from source locale catalogs, ensuring strict autocomplete and compile-time key safety.
Inputs:
projectPath,outputPath(default:src/@types/resources.d.ts),writeToDisk(boolean, default:true).
generate_pseudolocale
Generates pseudo-localized catalogs (qps-ploc, en-XA, qps-plocm bidi) from source locale files for L10n stress-testing. Tests font glyph support, text expansion (+35%), UI layout clipping, and identifies hardcoded unextracted strings while safely preserving variables and HTML tags.
Inputs:
projectPath,sourceLocale,targetLocale(default:"qps-ploc"),strategy("accented"|"bidi"|"expansion"|"all"),expansionRatio(default:0.35),delimiter("brackets"|"exclamation"|"none"),namespaces,dryRun.
format_catalogs
Cleans, sorts, and formats translation catalogs (JSON and ARB) alphabetically or aligned with source locale key ordering, eliminating merge conflicts and inconsistent indentation.
Inputs:
projectPath,locales,namespaces,sortOrder("alphabetical"|"align-with-source"),indent(default:2),dryRun.
audit_rtl
Audits codebase for Right-to-Left (RTL) and bidirectional layout bugs, detecting physical spacing (marginLeft/marginRight), alignment (textAlign: left), physical Tailwind utility classes (ml-, mr-, text-left), Flutter physical offsets (EdgeInsets.only(left:), Alignment.centerLeft), directional icons, and missing RTL root configs, with automated logical property migration (fix: true).
Inputs:
projectPath,scope,targetLocales(e.g.['ar', 'he']),fix(boolean, default:false),dryRun(boolean, default:true).
audit_plurals
Audits translation catalogs (JSON and Flutter ARB) against official Unicode CLDR plural and gender rules, detecting missing mandatory categories (e.g., Arabic zero/two/few/many, Russian few/many), missing mandatory other fallback branches, and variable mismatches, with automated scaffold fixing (fix: true).
Inputs:
projectPath,locales(e.g.['ar', 'ru', 'pl']),namespaces,fix(boolean, default:false),dryRun(boolean, default:true).
audit_formatting
Audits project source code (React Native, React, Vue, Flutter, Next.js) for unlocalized formatting anti-patterns:
Hardcoded Currency Concatenation: Flagging expressions like
`$${price}`,price + " €", and Flutter'\$${item.price}', with automated migration toIntl.NumberFormator FlutterNumberFormat.simpleCurrency.Unlocalized Decimals: Detects
.toFixed()or.toStringAsFixed()where decimal points/commas depend on user locale.Hardcoded Percentages: Detects
`${discount}%`and migrates to localized percentage formatting.Unparameterized Date & Time: Detects bare
.toLocaleDateString()and.toLocaleTimeString()calls with automated migration toIntl.DateTimeFormat(undefined, { dateStyle: "medium" }).Inputs:
projectPath,scope,categories(CURRENCY,NUMBER,PERCENTAGE,DATE,TIME),fix(boolean, default:false),dryRun(boolean, default:true).
export_translations
Exports translation catalogs (JSON or Flutter ARB) into standard XLIFF (1.2 / 2.0) or TMX 1.4 exchange files for professional translation agencies and Translation Management Systems (Crowdin, Lokalise, Phrase, Smartling, Trados).
Inputs:
projectPath,format("xliff-1.2"|"xliff-2.0"|"tmx-1.4"),sourceLocale,targetLocales,namespaces,outputPath,includeNotes(boolean, defaulttrue).
import_translations
Imports translated strings from standard XLIFF (1.2 / 2.0) or TMX 1.4 exchange files back into project translation catalogs (JSON or Flutter ARB), with unified diff support and collision safety.
Inputs:
projectPath,filePath,content,format,targetLocales,overwrite(boolean, defaulttrue),dryRun(boolean, defaultfalse).
deduplicate_i18n
Audits catalogs for exact duplicate keys, fuzzy near-duplicates, and cross-namespace redundancy using normalized Levenshtein similarity, with optional automated key consolidation and source code call-site updates.
Inputs:
projectPath,sourceLocale,similarityThreshold(number 0.5-1.0, default0.85),exactOnly(boolean),crossNamespaceOnly(boolean),targetNamespace(default"common"),consolidate(boolean, defaultfalse),dryRun(boolean, defaulttrue),scope.
internationalize
End-to-end orchestration tool combining analysis, scanning, candidate resolution, planning, modification, translation, and validation into a unified workflow.
Inputs:
projectPath(string, optional)scope(string[], optional)dryRun(boolean, optional, defaulttrue): Simulates execution and returns a unified diff.apply(boolean, optional, defaultfalse): Applies code replacements and locale additions.translate(boolean, optional, defaultfalse): Translates missing strings for target locales.provider("auto"|"deepl"|"openai"|"gemini"|"dictionary", optional): Pluggable cloud translation provider with non-blocking fallback.apiKey(string, optional): API key for cloud translation.providedTranslations(record, optional): Agent-supplied translations for missing or ambiguous terms.candidateDecisions(record, optional): Map of ambiguous candidate IDs to boolean approval.sourceLocale,targetLocales,namespaces,include,exclude,createBackup.
Returns: Full lifecycle report with status (
NO_CHANGES,PLAN_READY,APPLIED,APPLIED_WITH_WARNINGS,REVIEW_REQUIRED,FAILED).
ICU MessageFormat & Plural Parity
Flutter ARB: Fully supports ICU plural syntax (
{count, plural, =0{no items} =1{1 item} other{{count} items}}) with automated@key.placeholdersmetadata generation (count: { type: "num", format: "compact" }) required byflutter gen-l10n.Next.js (
next-intl): Generates single-key ICU MessageFormat plural definitions in message catalogs (messages/*.json).React / React Native (
react-i18next): Automatically produces_oneand_otherdual key entries for standard i18next runtime resolution.
Layered Architecture
src/
├── mcp/ # Model Context Protocol layer
│ ├── server.ts # McpServer instance & stdio lifecycle
│ └── tools/ # 8 registered MCP tools
│ ├── analyze-project.ts
│ ├── scan-hardcoded-texts.ts
│ ├── generate-i18n-plan.ts
│ ├── apply-i18n-plan.ts
│ ├── translate-i18n.ts
│ ├── validate-i18n.ts
│ ├── internationalize.ts
│ └── generate-i18n-types.ts
│
├── core/ # Framework-independent i18n engine
│ ├── discovery/ # Project & framework detection
│ ├── scanner/ # AST string scanner
│ ├── classifier/ # 4-Pillar classification engine
│ ├── namespace/ # Namespace assignment
│ ├── keys/ # Semantic key generation
│ ├── translation/ # Contextual translation service
│ ├── replacement/ # Safe source transformation
│ ├── validation/ # Completeness & consistency checks
│ ├── planning/ # Deterministic plan generation
│ └── orchestration/ # End-to-end pipeline coordinator
│
├── integrations/
│ └── adapters/ # Pluggable framework adapters
│ ├── framework-adapter.interface.ts
│ ├── react-native.adapter.ts
│ ├── react-web.adapter.ts
│ ├── nextjs.adapter.ts
│ └── flutter.adapter.ts
│
├── models/ # Strongly-typed models and contracts
└── utils/ # Safe file I/O and stderr loggerAntigravity Agent Skill: /internationalize
The project includes an Antigravity Workspace Skill located at .agents/skills/internationalize/SKILL.md (and .claude/skills/internationalize/SKILL.md).
Supported Commands & Invocations
# Preview internationalization across the whole project (dry-run)
/internationalize
# Preview a specific feature directory
/internationalize src/features/auth
# Preview a single screen or component
/internationalize src/features/auth/LoginScreen.tsx
# Apply changes directly
/internationalize src/features/auth --apply
# Apply changes and generate French and Spanish translations
/internationalize src/features/auth --apply --translate --target-locales=fr,esTwo-Stage Interactive Safety Workflow
Developer or Agent invokes
/internationalize src/features/auth.MCP scans the code and returns
PLAN_READYwith unified diff and any ambiguous candidates taggedAMBIGUOUS.Agent quickly reviews ambiguous items (e.g.
<Button label="Save" />$\rightarrow$true) and passes resolutions viacandidateDecisions.Developer confirms "apply".
Agent executes with
apply: true, updating source code, creating locale keys, running translations, and validating results.
Running the MCP Server Manually
If you prefer to configure your MCP client manually instead of running npx @fakhrii/i18n-mcp init:
Google Antigravity / Gemini CLI (mcp_config.json)
Add to ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (project):
{
"mcpServers": {
"i18n-mcp": {
"command": "npx",
"args": ["-y", "@fakhrii/i18n-mcp", "serve"]
}
}
}Claude Desktop (claude_desktop_config.json)
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"i18n-mcp": {
"command": "npx",
"args": ["-y", "@fakhrii/i18n-mcp", "serve"]
}
}
}Cursor IDE (.cursor/mcp.json)
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"i18n-mcp": {
"command": "npx",
"args": ["-y", "@fakhrii/i18n-mcp", "serve"]
}
}
}VS Code (Cline / Roo Code / Continue.dev)
Configure the MCP server:
Command:
npxArgs:
["-y", "@fakhrii/i18n-mcp", "serve"]
Development & Verification
# Build TypeScript
npm run build
# Run unit and integration tests (58 test files, 417 tests)
npm test
# Typecheck
npm run typecheckCLI Usage
For setup, debugging, and terminal automation:
# 1-Click setup of skills & MCP config for AI agents (Antigravity, Claude, Cursor)
npx -y @fakhrii/i18n-mcp init
# Setup globally across all projects on your machine
npx -y @fakhrii/i18n-mcp init --global
# Target a specific client (all | antigravity | claude | cursor)
npx -y @fakhrii/i18n-mcp init --client antigravity
# Force overwrite existing configuration
npx -y @fakhrii/i18n-mcp init --force
# Scan hardcoded strings in current project
npx -y @fakhrii/i18n-mcp scan
# Scan specific project directory
npx -y @fakhrii/i18n-mcp scan ./my-project
# Scan with scope (e.g. specific feature or file)
npx -y @fakhrii/i18n-mcp scan ./my-project --scope src/features/auth
# Export catalogs to standard XLIFF (1.2 / 2.0) or TMX for translation agencies
npx -y @fakhrii/i18n-mcp export ./my-project --format xliff-1.2 --target-locales fr es de --out ./exports
# Import translated XLIFF or TMX files back into catalogs
npx -y @fakhrii/i18n-mcp import ./my-project --file ./exports/en_fr.xlf
# Audit catalogs for exact and fuzzy duplicate keys and consolidate redundancies
npx -y @fakhrii/i18n-mcp dedupe ./my-project --threshold 0.85 --consolidate
# Audit and migrate unlocalized currency, number, percentage, and date formatting
npx -y @fakhrii/i18n-mcp formatting ./my-project --categories CURRENCY NUMBER PERCENTAGE DATE --fix
# Audit and scaffold Unicode CLDR plural categories across catalogs
npx -y @fakhrii/i18n-mcp plurals ./my-project --locales ar ru pl --fix
# Audit RTL layout and auto-fix physical properties to logical
npx -y @fakhrii/i18n-mcp rtl ./my-project --target-locales ar he --fix
# Translate missing keys with context-aware formality
npx -y @fakhrii/i18n-mcp translate ./my-project --target-locales fr es --formality formal --provider openai
# Generate TypeScript type definitions (resources.d.ts)
npx -y @fakhrii/i18n-mcp types ./my-project
# Preview generated types without writing
npx -y @fakhrii/i18n-mcp types ./my-project --dry-run
# Output raw JSON
npx -y @fakhrii/i18n-mcp scan ./my-project --jsonAvailable Tools
16 toolsanalyze_projectA
Analyze a React Native project (as well as React, Next.js, Flutter, and Angular) without modifying anything. Returns framework, language, package manager, detected i18n library, configuration, locale directory, source and target locales, existing namespaces, project structure, and configuration warnings.
Inputs: projectPath.
apply_i18n_planA
Safely and atomically apply an approved i18n migration plan to the project (React Native, React, Next.js, Flutter). Performs source replacements, hook/import insertions, and locale JSON updates with stale plan protection and optional dry-run.
Inputs: plan, dryRun, planPath, projectPath, +2 more.
audit_formattingB
Audits project source code (React, React Native, Vue, Flutter) for hardcoded currency concatenations, unlocalized numbers (.toFixed()), raw percentage signs, and unparameterized date/time calls (.toLocaleDateString()), with automated logical migration using Intl or package:intl.
Inputs: fix, scope, dryRun, exclude, +3 more.
audit_pluralsA
Audits translation catalogs (JSON and Flutter ARB) against official Unicode CLDR plural and gender rules, detecting missing mandatory categories (e.g., Arabic zero/two/few/many, Russian few/many), missing 'other' fallback branches, and variable mismatches, with automated scaffold fixing.
Inputs: fix, dryRun, locales, namespaces, +1 more.
audit_rtlA
Audits codebase for RTL (Right-to-Left) and bidirectional layout bugs, detecting physical spacing (marginLeft/Right), alignment (textAlign: left/right), directional icons, and missing RTL root configurations, with automated logical property migration.
Inputs: fix, scope, dryRun, projectPath, +1 more.
deduplicate_i18nA
Detects exact duplicate translation keys, fuzzy near-duplicates, and cross-namespace redundancy across project catalogs using normalized Levenshtein similarity, with optional automated key consolidation and source code call-site updates.
Inputs: scope, dryRun, exactOnly, consolidate, +5 more.
export_translationsB
Exports translation catalogs (JSON or Flutter ARB) into standard XLIFF (1.2 / 2.0) or TMX 1.4 exchange files for professional translation agencies and Translation Management Systems (Crowdin, Lokalise, Phrase, Smartling, Trados).
Inputs: format, namespaces, outputPath, projectPath, +3 more.
format_catalogsA
Cleans, sorts, and formats translation catalogs (JSON and ARB) alphabetically or aligned with source locale key ordering, eliminating merge conflicts and inconsistent formatting.
Inputs: dryRun, indent, locales, sortOrder, +2 more.
generate_i18n_planA
Analyze detected hardcoded user-facing strings and produce a complete, deterministic, reviewable i18n migration plan (translations, source code changes, and required hooks/imports) with zero filesystem mutations.
Inputs: path, scope, exclude, include, +7 more.
generate_i18n_typesB
Generates TypeScript definitions (resources.d.ts) from the project's source locale catalogs, providing full autocomplete and compile-time key validation for i18n translation functions.
Inputs: outputPath, projectPath, writeToDisk.
generate_pseudolocaleA
Generates pseudo-localized catalogs (e.g. qps-ploc, en-XA) from the source locale for stress-testing UI layouts, text expansion (+35%), font glyph support, and spotting unextracted strings.
Inputs: dryRun, strategy, delimiter, namespaces, +4 more.
import_translationsB
Imports translated strings from standard XLIFF (1.2 / 2.0) or TMX 1.4 exchange files back into project translation catalogs (JSON or Flutter ARB), with unified diff support and collision safety.
Inputs: dryRun, format, content, filePath, +3 more.
internationalizeA
End-to-end orchestration tool for i18n migration across React Native, React (web), Next.js, and Flutter projects. Runs analyze -> scan -> plan -> apply -> translate -> validate with conservative defaults and complete structured reporting.
Inputs: apply, scope, apiKey, dryRun, +14 more.
scan_hardcoded_textsA
Scan a React Native project (as well as React, Next.js, and Flutter) or requested scope for hardcoded strings using AST analysis. Returns detected strings with source locations, AST context, classification, confidence score, semantic role, suggested key and namespace, without modifying any files.
Inputs: scope, exclude, include, projectPath, +3 more.
translate_i18nB
Translate missing keys across target locale files using built-in dictionaries, optional cloud providers (DeepL, OpenAI, Gemini), or agent translations without overwriting existing translations.
Inputs: apiKey, dryRun, context, glossary, +7 more.
validate_i18nB
Validate i18n implementation for missing translations, interpolation variable mismatches, orphan keys, unused dead keys, and malformed JSON.
Inputs: scope, locales, namespaces, projectPath, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools map to a clearly distinct stage of the i18n workflow (analyze, scan, plan, apply, translate, validate), and the `internationalize` orchestrator is explicitly framed as an end-to-end wrapper. Minor overlap exists between `validate_i18n`, `audit_plurals`, and `audit_formatting` (all report interpolation/variable mismatches), and between `scan_hardcoded_texts` and `audit_formatting` as source-code scanners, but descriptions clarify the boundaries.
Nearly all tools follow a verb_noun pattern (scan_hardcoded_texts, generate_pseudolocale, audit_rtl, export_translations, deduplicate_i18n). Deviations are minor: a few tools suffix the domain instead of prefixing it (translate_i18n, validate_i18n) and `internationalize` is a bare verb, but the convention remains predictable.
16 tools is at the upper end but each covers a distinct stage or audit type in a genuinely broad domain (React/RN/Next/Flutter i18n). Nothing appears redundant enough to be obviously removable, though it is a heavy surface for an agent to navigate.
The lifecycle is well covered: analysis, scanning, planning, application, translation, validation, type generation, formatting, RTL/plural/format audits, and XLIFF/TMX exchange plus deduplication. Minor gaps remain, such as direct key/namespace creation or per-key editing and rolling back an applied plan, which agents must work around via import or manual edits.
Maintenance
Related MCP Connectors
Localize your app from your AI agent: add strings, auto-translate, and route them to human review.
AI-native translation management: push translation files, translate, review and audit strings.
Localize apps from your AI assistant: translate locale files, set glossaries, connect GitHub repos.
Agentic localization for documents and media, with quality checks and optional human review.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI-powered translation management built for AI agents. Automate localization with regional sensitivity and zero TMS overhead. Works with Claude Code, Cursor, VS Code via MCP protocol. Supports JSON, YAML, Markdown, PO and more.MIT
- AlicenseAqualityBmaintenanceAI localization from your editor — translate an app's string files into 46 languages with placeholder-safe, reproducible output. Eleven formats (JSON, .arb, .po, .strings, Android XML and more), and every translation is read back and checked before it lands.774 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceEnables localization of React, Next.js, and Vue apps from an AI assistant by managing projects, languages, translations, glossaries, style guides, and GitHub repository integration.MIT
- AlicenseAqualityBmaintenanceEnables AI agents, developers, and CI pipelines to run deterministic, offline localization QA — pseudolocalization, locale linting for separators/dates/placeholders/RTL, and glossary enforcement across 20 locales — without any network access or API key. When an OpenAI-compatible endpoint is configured, it can also translate into multiple locales and lint the results, or otherwise emit structured translation jobs instead of fabricating translations.5MIT