Implements internationalization with Rails I18n for multi-language support. Use when adding translations, managing locales, localizing dates/currencies, pluralization, or when user mentions i18n, translations, locales, or multi-language.
87
82%
Does it follow best practices?
Impact
100%
1.25xAverage score across 3 eval scenarios
Passed
No known issues
Locale file structure and view lazy lookups
Views locale in views/
0%
100%
Models locale in models/
0%
100%
Nested YAML keys
100%
100%
No flat keys
100%
100%
Lazy lookup in view
0%
100%
_html suffix for HTML
100%
100%
Interpolation not concatenation
100%
100%
Controller lazy lookup
0%
100%
ActiveRecord model structure
100%
100%
Validation error translation
100%
100%
French locale provided
100%
100%
URL-based locale switching and i18n configuration
Route scope for locale
100%
100%
around_action :switch_locale
0%
100%
I18n.with_locale usage
0%
100%
default_url_options
100%
100%
User preference chain
100%
100%
Accept-Language extraction
100%
100%
Fallbacks enabled
100%
100%
Available locales configured
100%
100%
Default locale configured
100%
100%
i18n-tasks in development
100%
100%
URL-based locale fallback
100%
100%
Pluralization, date/currency formatting, and i18n testing
Pluralization zero/one/other
100%
100%
French pluralization
100%
100%
count: interpolation in t()
100%
100%
I18n.l for date
100%
100%
Named date formats defined
100%
100%
Currency locale formatting
100%
100%
French currency locale config
100%
100%
Nil date handling
100%
100%
i18n RSpec spec with BaseTask
100%
100%
Missing translation raises in tests
100%
100%
require i18n/tasks
100%
100%
Exception handler restored
100%
100%
15fdeaf
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.