Development #7202
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M19_Multilingual.md Implement a common localization framework for the entire Cashier application. Scope: * English is the default language. * Replace hardcoded user-facing text with localization resource keys. * Support Multilingual (M19) (docs/planning/modules/M19_Multilingual.md). Build language resources containing key/value translations. * Load the applicable language resource when Cashier starts. * Provide a common localization service/component for all Cashier modules. * All POS pages should obtain displayed text through the localization framework. * Cover: * * Page titles. * * Buttons. * * Labels. * * Menus. * * Tabs. * * Dialogs. * * Confirmation messages. * * Warning/error messages. * * Validation messages. * * Transaction/payment messages. * * Other user-facing system text. * Do not maintain separate UI/screens for different languages. * If a translation key is unavailable and selected-language display/printing in the selected language, automatically fall back to English. * Missing translations must not cause both Cashier screens to fail. projects. Include missing-translation fallback. Done when: POS+ Cashier has a common localization mechanism that can dynamically resolve all supported system text based on the active language. when switching updates UI and documents immediately.