Development #7815
openFeature #7201: Multilingual (M19)
Support language resource export/import workflow
0%
Description
Refer to: docs/planning/modules/M19_Multilingual.md
Support the POS language-resource structure required for the QubeBiz translation workflow.
The actual QubeBiz UI/import/export implementation belongs to the QubeBiz team. The POS+ scope is to define and consume a consistent language-resource structure that can support this workflow.
Expected flow:
QubeBiz Language Resources
↓
Export
↓
JSON / Excel / CSV
↓
Translator
↓
Translated File
↓
Import to QubeBiz
↓
Publish / Sync
↓
POS+ downloads updated language resource
POS+ requirements:
- Define/use a stable translation key for each system text.
- Support language code.
- Support default English value.
- Support translated value.
- Ensure translation keys remain consistent between application versions.
- Accept updated language resources without requiring application code changes for translation-only updates.
- Validate downloaded language-resource structure.
- Ignore/recover safely from invalid translation entries.
- Fall back to English for missing translation values.
Example resource concept:
{
"language": "zh-TW",
"translations": {
"POS.NEW_SALE": "新交易",
"POS.PAYMENT": "付款",
"POS.TOTAL": "總額",
"POS.CANCEL": "取消"
}
}
Done when: POS+ can consume language resources produced through the QubeBiz export → translation → import → sync workflow without requiring a new Cashier build just to update translated text.