-
Bug
-
Resolution: Fixed
-
High
-
3.4
-
None
-
None
-
Magnolia 6.2.12
Context
I am just testing the Translation Module extended (deeple) with a custom content app.
First I had to fix one thing in the Implementation to get it work at all. This line here has to be changed to:
if (file.isFile() && FilenameUtils.removeExtension(file.getName()).equals(appName)) {
Otherwise, it will not work because the App name will not be inspirations-app.yaml
But beside of that, I gave it a try, and it worked. But not 100% perfect The Translation is working until the point of the import. I get all Fields translated in the Review of the task, I can also see the translations. Also in the queues section I see all of them. But in the actual import Command I only get 3 of the Fields. The translation of the subModels productCard are missing.
Steps to reproduce
- Create the content app (app: inspirations-app.yaml| contentType: inspiration.yaml)
- Create some content (demo content is attached: inspirations.yaml)
- Create a translation Batch
- Submit the batch
- Import the translations
Expected results
All Fields should be translated.
Actual results
Only the Fields Title, Text and searchText are translated
Workaround
Development notes
Like mentioned above, the Problem can be debugged at this line.
You can see the bundleReader has only 3 updated bundles:
I also produced a Video to show the behavior:
https://drive.google.com/file/d/1r7slShkaEUHEBo8qeV1vwLa0GLt_iE-F/view?usp=sharing