I18N Patterns

🌐Community
by dchuk · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add dchuk-i18n-patterns npx -- -y @trustedskills/dchuk-i18n-patterns
2

Or manually add to ~/.claude/settings.json

~/.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.t in 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
dchuk
Installs
2

🌐 Community

Passed automated security scans.