[I18N] website_sale_aplicoop, product_origin_char: add Catalan translation

Add ca.po for both addons, matching the existing es/eu coverage
(378 and 4 entries respectively). Add the missing "ca" fallback block
in website_sale_i18n.py alongside the existing es/eu ones, and correct
the i18n README, which falsely claimed complete pt/gl/fr/it coverage
that was never actually present.
This commit is contained in:
GitHub Copilot 2026-08-13 11:52:54 +02:00
parent 157b344d4b
commit e59c706ef6
4 changed files with 2352 additions and 10 deletions

View file

@ -62,6 +62,14 @@ def _get_translated_labels(self, lang=None, request_obj=None):
"This order's cart is empty.": "Eskaera honen saskia hutsik dago.",
"This order's cart is empty": "Eskaera honen saskia hutsik dago",
},
"ca": {
"Browse Product Categories": "Explora categories de productes",
"Save Draft": "Desa l'Esborrany",
"Save order as draft": "Desa la comanda com a esborrany",
"Order saved as draft": "Comanda desada com a esborrany",
"This order's cart is empty.": "El carret d'aquesta comanda està buit.",
"This order's cart is empty": "El carret d'aquesta comanda està buit",
},
}
def tr(source):

View file

@ -2,21 +2,17 @@
## Language Support
This module has complete translation support for **7 languages**:
This module has complete translation support for **3 languages**:
| Language | Code | Status | Coverage |
|----------|------|--------|----------|
| Spanish | `es` | ✅ Complete | 100% |
| Portuguese | `pt` | ✅ Complete | 100% |
| Galician | `gl` | ✅ Complete | 100% |
| Catalan | `ca` | ✅ Complete | 100% |
| Basque (Euskera) | `eu` | ✅ Complete | 100% |
| French | `fr` | ✅ Complete | 100% |
| Italian | `it` | ✅ Complete | 100% |
## Translated Content
Each `.po` file contains **66 translations** for:
Each `.po` file contains **378 translations** for:
- **Selection Field Options** (Days of week, Recurrence periods)
- Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
@ -38,9 +34,8 @@ When users switch their Odoo interface language to any of the supported language
### Example
- English: "Group Order"
- Spanish: "Pedido de Grupo"
- Portuguese: "Pedido de Grupo"
- French: "Commande de Groupe"
- etc.
- Catalan: "Comanda de Grup"
- Basque (Euskera): "Taldeko Eskaera"
## Translation Workflow
@ -62,7 +57,7 @@ msgstr "Pedido de Grupo" # Spanish translation
- All `.po` files were generated and tested: **40/40 tests passing**
- Translation coverage: **100%** for all supported languages
- Last updated: December 16, 2025
- Last updated: August 13, 2026
---

File diff suppressed because it is too large Load diff