odoo-i18n
Originally fromahmed-lakosha/odoo-upgrade-skill
Installation
SKILL.md
Odoo i18n Skill
Provides deep expertise in Odoo internationalization (i18n) and localization (l10n) across Odoo 14-19.
Critical Translation Rules
- NEVER use f-strings inside
_()-- use%formatting:_('Record %s') % name - NEVER concatenate strings inside
_()-- give the translator the full sentence - Use
_lt()for class-level strings (selection values, class attributes) - NEVER wrap
string=field attributes in_()-- they are auto-translated by Odoo - Save
.pofiles as UTF-8 without BOM - Arabic
.pofiles must havenplurals=6in Plural-Forms header - Always update the module after editing
.pofiles:-u module --stop-after-init
Workflow 1: Extract Translatable Strings
Scans an Odoo module for all translatable strings and generates .pot (template) and .po (language) files.
Related skills