Skip to content

[19.0][WIP][ADD] web_html_field_translate_dialog: per-language HTML translation dialog#3601

Open
JordiBForgeFlow wants to merge 4 commits into
OCA:19.0from
ForgeFlow:19.0-add-web_html_field_translate_dialog
Open

[19.0][WIP][ADD] web_html_field_translate_dialog: per-language HTML translation dialog#3601
JordiBForgeFlow wants to merge 4 commits into
OCA:19.0from
ForgeFlow:19.0-add-web_html_field_translate_dialog

Conversation

@JordiBForgeFlow

@JordiBForgeFlow JordiBForgeFlow commented Jun 30, 2026

Copy link
Copy Markdown
Member

The standard translation dialog of an HTML field splits its content into individual source terms, which is technical and hard to use. This module replaces it, for HTML fields only, with a dialog showing one full rich-text editor per installed language.

image

…dialog

The standard translation dialog of an HTML field splits its content into
individual source terms, which is technical and hard to use. This module
replaces it, for HTML fields only, with a dialog showing one full rich-text
editor per installed language.
@OCA-git-bot OCA-git-bot added series:19.0 mod:web_html_field_translate_dialog Module web_html_field_translate_dialog labels Jun 30, 2026
The per-language editors received the field value as a plain string, which
the editor sets as text content (showing the raw HTML tags). Flag it as safe
HTML with markup() so it is parsed and rendered, as HtmlField does.
…ditor

Media/link editor plugins call config.getRecordInfo(); without it the editor
throws "this.config.getRecordInfo is not a function" when the dialog is
destroyed after saving.
…ield translate

ir.model.fields.translate is a Selection in Odoo 19; passing True logs a
deprecation warning that fails OCA's checklog. Use "html_translate".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:web_html_field_translate_dialog Module web_html_field_translate_dialog series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants