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

Google Translations can be enabled without a Service Account Private Key

    Details

    • Fix Priority:
      4
    • Sprint:
      LIMA | QA Sprint 8, LIMA | QA Sprint 9

      Description

      The Service Account Private Key should be a required field when setting up Google Auto Translations, otherwise it will give false positives in the rest of their workflow.

      Steps to reproduce:

      1. Enable Google Auto Translations in Portal
      2. Navigate to System Settings > Google Cloud Translator
      3. Check the box to enable the feature but don't type anything into the account key field
      4. Save the configuration

      Expected result:
      An error message appears saying a key is required.

      Actual result:
      The configuration is saved and a success message appears.

      If you then add a web content then select it and translate it to land on the side-by-side view, the Auto Translate button appears. Clicking on the button results in a success message but nothing is actually translated. This gives a false positive to the end user.

        Attachments

        1. 1.png
          1.png
          35 kB
        2. 2.PNG
          2.PNG
          23 kB
        3. category.translation - Liferay - Google Chrome 2021-05-21 13-32-12.mp4
          21.78 MB
        4. xYeLFbeWKk.mp4
          274 kB

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              austin.chiang Austin Chiang
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                23 weeks, 3 days ago

                  Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  7.4.13 DXP GA1
                  Master