Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-101039

Allow importing a single translation for web content with workflow disabled

    Details

      Description

      As a content admin

      I want to be able to import a translation for a web content

      so that I can easily add the work done by the translation agency

       

      Acceptance criteria

       

      Given a site with web content

      When a user tries to import a translation

      Then she can select an xliff file and import it 

       

      Given a site with web content 

      When a user publishes an imported translation

      Then the translation is added to the web content

       

      Given a site with web content 

      When a user publishes an imported translation for an incorrect content

      Then an error is shown explaining the situation

       

      Given a site with web content 

      When a user publishes an imported translation for a language no longer available

      Then an error is shown explaining the situation

       

      Given a site with web content 

      When a user publishes an imported translation with a corrupted file

      Then an error is shown explaining the situation

      Design

      Figma Mockup

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
      1.6 5 User can select an xliff file when importing a translation for a web content NO Translations#ImportWebContentWithXliffFile
      Translations#ImportWebContent
      1.7 5 User can import an xliff file to corresponding web content YES Translations#ImportWebContentWithXliffFile
      Translations#ImportWebContent
      1.8 5 The translation is added to the web content once the user publishes the imported translation YES Translations#ImportWebContentWithXliffFile
      Translations#ImportWebContent
      1.9 3 The system shows a success message indicating the import was published NO Translations#ImportWebContentWithXliffFile
      Translations#ImportWebContent
      1.10 5 All the fields in the xliff file can be imported into the web content YES Translations#ImportWebContentWithXliffFile
      Translations#ImportWebContent
      1.11 4 An error message displays when the translation file's ID doesn't match with the web content YES Manual
      1.12 4 An error message displays when an imported translation using an unavailable language is published YES Manual
      1.13 4 An error message displays when an imported translation with a corrupted file is published YES Manual 
      1.14 4 An error message displays when importing translation file has an incorrect encoding YES Manual
      1.15 4 User can import the translation file after re-encoding it to UTF-8 NO Manual 

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            pablo.agulla Pablo Agulla
            Engineering Assignee:
            Alicia Garcia
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master