Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] [17.0] Origin HTML/XML becomes overwritten if a translation is created in EN(US) #162763

Open
rk-aix opened this issue Apr 21, 2024 · 0 comments

Comments

@rk-aix
Copy link

rk-aix commented Apr 21, 2024

Impacted versions: 16 & 17

Steps to reproduce:

Scenario: Default language DE, additional languages FR, NL, EN etc. installed.

In Website Editor start to create a page in DE.
HTML/XML is created correctly in DE with all codes, scripts, tags etc.
You are able to edit HTML/XML in Editor and all is going fine.
After you are satisfied with your page, in next step you create the translations in any language you want, all is going fine... The HTML/XML is still the origin that you've created.
Now in final step you perhaps want to create the translation for EN(US), do it and your developed HTML/XML becomes directly overwritten by a variant from the EN(US) translation.
From now on all is going wrong, the translations become unstable/unlogical/inconsistant, changes in HTML/XML will directly affect all other translations up to trace backs from Odoo.

To check this behaviour it is enough to create only a head-line with a test text in Website-Editor, no need to create a full page...

Also if you just (want to) change some little code in your default language all translations become affected, still if there were previous translations stored.

The affect does not appear if you decide to translate to EN(UK,CA...)

This remembers me to #124124 and #150829

Perhaps it's only a small workout to correct, otherwise we're building on sand...
This behaviour i recognized after a client decided to expand his (non-english) web-site from one to some more different languages. Therefore - Be aware - Please don't try this in your production or own development environment, use RunBot or a blank database and you're save ;-)

Current behavior: overwriting origin HTML/XML after translation to en_US

Expected behavior: NOT overwriting origin HTML/XML after translation to en_US

@rk-aix rk-aix changed the title Origin HTML/XML becomes overwritten if a translation is created in EN(US) [16.0] [17.0] Origin HTML/XML becomes overwritten if a translation is created in EN(US) Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant