Duplicate translation in Captcha Prompt for Danish Language in JSM Customer Portal

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Having the Danish language as default and clicking on Sign up for an account (Opret en konto), the Captcha show the text: Angiv ordet som det er vist nedenfor / angiv ordet som er vist nedenfor

      This shows an inconsistency between languages (translations) as in English we don't see the slash (\/) and the question mark (?).

      Steps to Reproduce

      1. Install JSM and configure it to enable the functionality Sign up for an account
      2. Go to JIRA Administration (⚙︎) > General configuration > Edit settings (button)
      3. Edit the Default language to Danish
      4. Open the Customer Portal, and provide the incorrect credentials
      5. Result, the captcha is shown, and the translation for Enter the word as shown below shows a duplicate and extra question mark:
        Angiv ordet som det er vist nedenfor / angiv ordet som er vist nedenfor

      Expected Results

      Just the text: Angiv ordet som det er vist nedenfor
      And match the format as with the English language.

      Actual Results

      Getting the following text: Angiv ordet som det er vist nedenfor / angiv ordet som er vist nedenfor

      Workaround

      These steps might be performed during a maintenance window in case of Production. I also suggest trying them in a lower environment first.

      1. Go to the path <JIRA_HOME>/plugins/installed-plugins/ and locate the file jira-servicedesk-application-5.12.17.jar
      2. Create a temporal folder, i.e.:
        mkdir workaround
        
      3. Then extract the content of jira-servicedesk-application-5.12.17.jar into this new folder. i.e.:
        cd workaround
        jar -xf ../jira-servicedesk-application-5.12.17.jar 
        
      4. Then locate the file translation-single-i18n_da_DK.properties and edit the line cv.login.captcha.label, and set the translation desired. Save the document.
      5. Then compress the file with the name jira-servicedesk-application-5.12.17.jar. i.e.:
        jar -cf jira-servicedesk-application-5.12.17.jar *
        
      6. Lastly, on path <JIRA_HOME>/plugins/installed-plugins/ make a backup of the current jar file by renaming it, and copy over the new generated one. i.e.:
        cd <JIRA_HOME>/plugins/installed-plugins/
        mv jira-servicedesk-application-5.12.17.jar jira-servicedesk-application-5.12.17.jar_orig
        cp workaround/jira-servicedesk-application-5.12.17.jar .
        
      7. Then restart Jira to make the changes effective
      8. Make a hard refresh in web browser (Ctrl+shift+R)

      Please change <JIRA_HOME> to the actual Jira Home path in all the examples above. Also, please note that the is a punt in the last command.

      Versions Tested

      Testing Requirements Version Affected Version
      Customers Reported Version v9.12.17 Yes
      Most Recent Bug-Fix Release v10.4X  No 
      Previous Major Release v9.11.X   Yes
      Most Recent LTS v10.3.3   No
      Previous Supported LTS  v9.4.30 Yes 
      Other versions  v9.12.18 Yes 

            Assignee:
            Benjamin Suess
            Reporter:
            Jose Antonio Uribe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: