Uploaded image for project: 'Content Translation Extended (CTX)'
  1. Content Translation Extended (CTX)
  2. EXCONTRANS-353

Translation of custom content app is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 3.4.2
    • 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

      1. Create the content app (app: inspirations-app.yaml| contentType: inspiration.yaml)
      2. Create some content (demo content is attached: inspirations.yaml)
      3. Create a translation Batch
      4. Submit the batch
      5. 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

        Acceptance criteria

              tmiyar Teresa Miyar
              tobias.kerschbaum Tobias Kerschbaum
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD