Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-75826

Batched Email Notifications for Jira Software Projects are not fully translated on Jira DataCenter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 9.4.0, 9.4.2, 9.4.3, 9.4.4, 9.4.10
    • Email notifications
    • None

    Description

      Issue Summary

      Batched Email Notification for Jira Software Projects are not fully translated where the header is still in the English language (e.g. "There is 1 update")

      Steps to Reproduce

      1. Verify the Email Notification is working Properly.
      2. Verify if Settings > Mail > Batching Email Notifications > Is Enabled
      3. Set the Jira Language Under Settings > General Configuration > Edit Configuration > Internationalization > Default language > Set to Deutsch/Espanol
      4. Click Update at the bottom of the page.
      5. Now Add a comment to an existing Issue and try to change the status of the Issue.
      6. Once done the Notification would triggered based on the batched Email Notifications Settings. The default time is 10 Minutes.

      Expected Results

      Email Notification recevied should show the results as provided in the below screenshot.

      Spanish Language

      German Language

      Actual Results


      Workaround

      1. To modify the file IssueUpdateBatcher-history.vm
      2. Go to Jira <HOME_DIR/data/templates/email-batch/HTML/IssueUpdateBatcher-history.vm
      3. Remove all the _1_4_x from the property names. 

      Before

      #set($updatesHeader = $i18n.getText('issue.update.batch.mail.header.summary.updates_1_4_x', [$fieldCount]))
      #set($commentsHeader = $i18n.getText('issue.update.batch.mail.header.summary.comments_1_4_x', [$commentCount]))
      #set($worklogsHeader = $i18n.getText('issue.update.batch.mail.header.summary.worklogs_1_4_x', [$worklogGroupsCount]))
      <td colspan="2">$i18n.getText('issue.update.batch.mail.header.summary.prefix_1_4_x', [$firstFieldCount, $all])</td>
      

      After

       #set($updatesHeader = $i18n.getText('issue.update.batch.mail.header.summary.updates', [$fieldCount]))
       #set($commentsHeader = $i18n.getText('issue.update.batch.mail.header.summary.comments', [$commentCount]))
       #set($worklogsHeader = $i18n.getText('issue.update.batch.mail.header.summary.worklogs', [$worklogGroupsCount]))
       <td colspan="2">$i18n.getText('issue.update.batch.mail.header.summary.prefix', [$firstFieldCount, $all])</td>
      

       

      Attachments

        1. German_lang.png
          German_lang.png
          167 kB
        2. German Language.png
          German Language.png
          180 kB
        3. Spanish_lang.png
          Spanish_lang.png
          174 kB
        4. Spanish_Language.png
          Spanish_Language.png
          202 kB

        Activity

          People

            Unassigned Unassigned
            9085749201b4 Shereen Reda
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: