What problem does it solve?
VTEX IO apps often ship with hardcoded, non-localizable user-facing text that becomes inconsistent across storefront and Admin experiences, making translation and reviews painful.
Core Features & Use Cases
- Centralized localization via vtex.messages: Keep UI strings discoverable and resolvable through VTEX’s messages runtime instead of embedding literals in components.
- Translation contract with explicit keys: Define app-scoped message IDs in messages context and back them with
/messages/*.json files for each locale.
- Guardrails for correct usage: Ensure user-facing strings come from the messages infrastructure, keep keys stable and organized, and avoid using message files for configuration or secrets.
Use this skill for adding or refactoring localized storefront/Admin/backend flows that display translated labels, buttons, headings, alerts, or user-facing copy.
Quick Start
Update your VTEX app’s messages/context.json and /messages/*.json files to declare and translate the message keys your UI or backend responses use.