I18N Patterns
Extracts and analyzes internationalization patterns from code to identify potential localization issues and improve maintainability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add dchuk-i18n-patterns npx -- -y @trustedskills/dchuk-i18n-patterns
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"dchuk-i18n-patterns": {
"command": "npx",
"args": [
"-y",
"@trustedskills/dchuk-i18n-patterns"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, dchuk-i18n-patterns, provides access to patterns and best practices for internationalization (i18n) within Rails applications. It helps generate code snippets and suggestions for translating text, formatting dates/numbers, and handling locale-specific data. The skill aims to streamline the i18n process and ensure consistency across different languages.
When to use it
- You're starting a new Rails project and want to implement i18n from the ground up.
- You need help translating existing text within your application into multiple languages.
- You are struggling with date/number formatting for specific locales.
- You want to ensure consistent terminology across different language versions of your app.
Key capabilities
- Generates i18n translation files (e.g.,
config/locales/*.yml). - Provides code snippets for translating text within views and controllers.
- Offers suggestions for formatting dates, numbers, and currencies based on locale.
- Helps manage locale-specific data and logic.
Example prompts
- "Generate a YAML file with translations for 'Hello' in Spanish and French."
- "Show me how to format the date '2023-10-27' according to German conventions."
- "Give me an example of using
I18n.tin a Rails view."
Tips & gotchas
The skill assumes you are working within a Rails environment and have basic familiarity with i18n concepts. Ensure your application has the necessary gems installed (e.g., rails-i18n) for optimal results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.