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

Password validation error messages are missing Japanese translations

    Details

      Description

      Summary
      Password validation error messages are missing Japanese translations. For example, if we set minimum number policy, we will see the following:

       エラー: That password must contain at least ___ numbers.

      In this specific case, it should be パスワードには、少なくとも___文字の英数字を含める必要があります。

      There are several properties that we have found that have not yet been translated to Japanese in Language_ja.properties.

      Steps to Reproduce - Specific to Minimum Alphanumeric Characters

      1. Navigate to Control Panel > Users > Password Policies
      2. Select "Default Password Policy" and set "Enable Syntax Checking" to "Yes"
      3. "Minimum Alpha Numeric" set to "4"
      4. Save the settings
      5. Display language set to JP (append /ja/ after hostname:port)
      6. Navigate to My Account > Account Settings
      7. Change the password that not contain 3 or less alphanumeric characters (e.g. hellohello)

      Actual Result
      Password validation error message is partially translated:

      エラー: That password must contain at least ___ numbers.

      As mentioned above this is stemming from untranslated messages in Language_ja.properties:

      that-password-must-contain-at-least-x-alphanumeric-characters=That password must contain at least {0} alphanumeric characters. (Automatic Copy)
      that-password-must-contain-at-least-x-lowercase-characters=That password must contain at least {0} lowercase characters. (Automatic Copy)
      that-password-must-contain-at-least-x-numbers=That password must contain at least {0} numbers. (Automatic Copy)
      that-password-must-contain-at-least-x-symbols=That password must contain at least {0} symbols. (Automatic Copy)
      that-password-must-contain-at-least-x-uppercase-characters=That password must contain at least {0} uppercase characters. (Automatic Copy)

      Expected Behavior
      In the example's case it should be translated to read パスワードには、少なくとも___文字の英数字を含める必要があります。

      Here is a comprehensive list of the translated keys.

      that-password-must-contain-at-least-x-alphanumeric-characters=パスワードには、少なくとも{0}文字の英数字を含める必要があります。
      that-password-must-contain-at-least-x-lowercase-characters=パスワードには、少なくとも{0}文字の小文字を含める必要があります。
      that-password-must-contain-at-least-x-numbers=パスワードには、少なくとも{0}文字の数字を含める必要があります。
      that-password-must-contain-at-least-x-symbols=パスワードには、少なくとも{0}文字の記号を含める必要があります。
      that-password-must-contain-at-least-x-uppercase-characters=パスワードには、少なくとも{0}文字の大文字を含める必要があります。

      Reproduced In
      7.1.x (da8b8b290689354a892ea7ab0009df232bd53397)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 1 week ago

                Packages

                Version Package
                7.1.10 DXP FP2
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master