Development #7203
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M19_Multilingual.md * docs/planning/modules/M02_Product_Data_Sync.md * Implement POS-side synchronization and local storage of Multilingual (M19) (docs/planning/modules/M19_Multilingual.md). Build language resources provided by QubeBiz. Scope: * Receive/download the list of available languages from QubeBiz. * Download the applicable language resource files/data. * Store downloaded language resources locally for offline operation. * Support updated language resources being downloaded through the normal synchronization mechanism. * Replace/update the local language resource only after the new resource has been successfully received and validated. * Continue using the last valid language resource if selected-language display/printing in both Cashier is offline. * English resources must always remain available as the default/fallback. * Avoid requiring Internet/Backend connectivity every time the user switches language. * Load the updated translation after synchronization without requiring language data to be manually copied into each Cashier. Example: > QubeBiz > ↓ > English > Bahasa Malaysia > Chinese > Thai > Vietnamese > etc. > ↓ > POS+ Backend / Sync > ↓ > Cashier Local Language Resources projects. Include missing-translation fallback. Done when: Cashier automatically receives when switching updates UI and locally maintains the language resources published from QubeBiz. documents immediately.