Closed Yenthe666 closed 5 years ago
I've did some further digging and it is actually quite interesting. You can get those terms generated. Start developer mode, open the sale order form view, go to inherited views, open the studio view that is automatically generated and click on "Edit translations" there. Now the new terms will be generated into the system. Video:
This report has actually two bugs: 1) Source terms are not automatically generated (with Studio), only after editing the new view and manually clicking on "Edit Translations" 2) Not all terms are shown when using the technical feature "Technical Translation" to show translations, for example tabs their strings are not shown.
OPW 1922570
To go even further: It it not only related to Odoo studio in fact. You can reproduce it without using Studio. Steps:
I also think that by default new generated terms should get the state "To translate" and shouldn't stay empty, as those results show up barely anywhere. It feels counterproductive.
According to the @nle-odoo 's answer from opw-1922570:
The 3 methods to adds missing terms for views:
All require user input (clicking on the button), because by default we don't want to overload the user/database with empty translation that he may never have the need for.
In an unrelated previous fix, we had to choose between creating empty translation when installing a language or not, and the point of not creating empty translation was also chosen then: https://github.com/odoo/odoo/pull/28297#issuecomment-434619282
Hi,
Right, sorry I forgot to close this. After the explanation about the overload on the database it made sense. Thanks for the followup!
You are welcome. I was just taking a look for Studio related opened issues.
Regards.
Impacted versions: 10.0, 11.0, 12.0
Steps to reproduce:
Example video: https://drive.google.com/file/d/1S9UfPosM2b2mW1P8PTSuomJjw3to8Z_Q/view
Current behavior: There are no source or translation terms generated from new items created with Odoo Studio.
Expected behavior: Automatically generated source term from which you can create translations for other languages.
Video/Screenshot link (optional):