Provides tools for analyzing, validating, and updating Django gettext .po translation files with intelligent preservation of Python format strings, Django template variables and tags, HTML tags, URLs, and JavaScript code.
Click on "Install 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., "@PO Translation MCP Serveranalyze the Spanish translations in /home/projects/myapp/locale/es/LC_MESSAGES/django.po"
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.
PO Translation MCP Server
MCP server for translating Django gettext .po files with AI assistance.
Features
analyze_po_file: Analyze .po files, get statistics and untranslated/fuzzy entries
validate_and_update_po_file: Validate and update translations in one operation
Smart Validation: Variables, HTML, URLs, JavaScript preservation checks
Installation
Claude Code Configuration
Tools
analyze_po_file
Analyze a .po file and get translation status.
Input:
Output:
validate_and_update_po_file
Validate translations and update the PO file.
Input:
Parameters:
Parameter | Type | Default | Description |
| string | required | Absolute path to .po file |
| array | required | Translation entries |
| boolean | true | Enable all validation checks |
| boolean | false | Preview without writing |
| boolean | false | Update even if invalid |
Output:
Data Structure
Both tools use the same minimal entry format:
Workflow
Validation Checks (strict: true)
Variables:
%(name)s,{0},{name},{{ var }}HTML:
<tag>,</tag>,<tag attr="value">URLs:
https://...,www....JavaScript:
console.log(),module.method()
Project Structure
Development
License
MIT