odoo-i18n

Installation
SKILL.md

Odoo i18n Skill

Provides deep expertise in Odoo internationalization (i18n) and localization (l10n) across Odoo 14-19.

Critical Translation Rules

  1. NEVER use f-strings inside _() -- use % formatting: _('Record %s') % name
  2. NEVER concatenate strings inside _() -- give the translator the full sentence
  3. Use _lt() for class-level strings (selection values, class attributes)
  4. NEVER wrap string= field attributes in _() -- they are auto-translated by Odoo
  5. Save .po files as UTF-8 without BOM
  6. Arabic .po files must have nplurals=6 in Plural-Forms header
  7. Always update the module after editing .po files: -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
Installs
11
GitHub Stars
52
First Seen
Mar 4, 2026