What problem does it solve?
Provides a clear, actionable standard for building locale-aware UI and services so teams avoid hardcoded locale checks, layout breakage in right-to-left markets, and inconsistent currency/date/unit formatting across dealer and customer experiences.
Core Features & Use Cases
- Attribute-driven rules: Emphasizes checking localeAttributes (textDirection, currency, units, date/time patterns) instead of branching on locale strings to future-proof code.
- Layout & formatting guidance: Specifies logical layout properties, icon mirroring rules, and UI responsibility for formatting numbers, currencies, dates, and distances.
- API reference & resolution: Directs teams to the dealer locale attributes API and defines resolution/fallback chains for dealer, advisor, and customer scenarios.
- Use case: Audit a checkout component to ensure RTL flipping, correct currency symbol/placement, and date/time patterns are driven by dealer locale attributes.
Quick Start
Use the localization-guidelines skill to audit a UI component for RTL layout, currency placement, and date/time formatting against the localeAttributes API.