| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 3110 |
| Technical Name |
translate_dashboard |
| License | OPL-1 |
| Website | https://islamhafez.vercel.app |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 3110 |
| Technical Name |
translate_dashboard |
| License | OPL-1 |
| Website | https://islamhafez.vercel.app |
Translate Dashboard
Stop editing .po files by hand.
Odoo's translation system is scattered — database says one thing, .po file says another,
and your theme still shows English. You export, edit, re-import, restart, and it still doesn't work.
Translate Dashboard replaces that entire workflow. Scan any module or website theme,
translate inline with keyboard shortcuts, and apply everything — database, website, and .po file
— in one click. 6,000+ terms handled. Works with every module Odoo has.
How It Works
Scan
Select any installed module and language. Click Scan. All translatable terms appear in seconds — even 6,000+ terms from large modules like base.
Translate
Type translations inline. Source text and translation side by side. Filter by untranslated, conflicts, or pending. Search across all terms.
Apply
Click Apply to Database. Translations go live on the website and backend instantly. Download the .po file to commit to your repo.
Key Features
Unified Dashboard
- Scan any installed module: core, custom, OCA, themes
- See all translatable terms with their current DB and .po file values
- Stats cards: total, translated, untranslated, conflicts
- Progress bar per module per language
- Copy source text with one click
- Source origin labels (model field, view content, python/js code)
Translate & Sync
- Inline editing — type, tab to next, Enter to save
- Apply to Database — writes to Odoo's JSONB via TranslationImporter
- Theme support — translations apply to website views automatically
- Download .po file — always fresh, always in sync
- Write to i18n/ folder (development mode)
- Conflict detection: DB vs .po file with one-click resolution
Built for Scale
Tested with 6,219 terms (Odoo's base module) — scans in 11 seconds, renders instantly with server-side pagination.
- Server-side pagination — only loads 80 terms at a time, numbered page navigation
- SQL batch operations — no per-term ORM writes, handles 2,000+ terms without slowdown
- Debounced search — server-side filtering, no client-side lag
- Smart re-scan — UPSERT preserves your pending translations, only updates changed terms
- Stale copy detection — for themes, automatically refreshes outdated website views
Production Ready
Works Everywhere
- Odoo.sh — Apply to DB works, download .po for git
- Self-hosted — full functionality including disk write
- On-premise — no external API, no internet required
Security
- Two user groups: Translator and Translation Manager
- Apply and write operations require Manager access
- Language code validation on all endpoints
- No filesystem paths exposed to frontend
Technical Details
- Odoo 19 native — OWL 2 frontend, JSONB-aware backend,
type='jsonrpc'routes - No external dependencies — uses
polib(ships with Odoo) and standard Odoo APIs - TranslationImporter for model translations (the Odoo 16+ replacement for
trans_load) - update_field_translations for view/theme translations (the only correct API for
xml_translatefields) - URL state persistence — module, language, filter, page survive refresh and are shareable
The .po File Problem, Solved
Translate in the dashboard. Apply to the database. Download the .po file. Next time anyone installs your module — on any database — the translations are already there. No manual .po editing. No export/import dance. It just works.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module