spree-i18n
Installation
SKILL.md
Spree I18n + Translations
Two distinct translation surfaces, each with its own mechanism:
| What | Mechanism | Where it lives |
|---|---|---|
| UI strings (labels, buttons, errors, emails) | Standard Rails I18n + Spree.t |
config/locales/<locale>.yml |
| Data (product names, category names, descriptions) | Mobility gem translation tables | spree_<model>_translations tables |
You need both for a multilingual store. UI strings are about how the app speaks; data translations are about what merchant content the customer sees.
UI strings — Spree.t and the YAML files
Every Spree gem ships its own English locale file. Spree.t looks up a key scoped under spree.* in the active locale: