i18n-and-timezones

Community

Fix Rails I18n and timezone bugs automatically.

Authorsandeepmvl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AI coding agents consistently produce broken internationalization and time zone implementations in Ruby on Rails applications, commonly hardcoding user-facing strings, misusing time APIs that ignore server versus user time zones, failing to handle daylight saving time edge cases, and skipping required locale fallback configuration.

Core Features & Use Cases

  • Correct I18n implementation: Guides proper externalization of user-facing strings, lazy view lookup, locale fallback setup, and rails-i18n gem integration for multi-language Rails apps.
  • Safe time zone handling: Enforces UTC storage for all database timestamps, per-request user time zone switching, and proper use of Time.current instead of server-local Time.now.
  • DST edge case mitigation: Provides patterns to avoid bugs from daylight saving time transitions, including DST-safe date math and strategies for appointment booking use cases. For example, when building a multi-language appointment scheduling app, this Skill ensures all interface strings are translatable, appointment times are stored correctly in UTC, and DST transition gaps don't break booking availability.

Quick Start

Use this Skill to implement proper internationalization and time zone handling for your Rails application when adding multi-language support or resolving existing time-related bugs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: i18n-and-timezones
Download link: https://github.com/sandeepmvl/rails-skills/archive/main.zip#i18n-and-timezones

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.