Skip to content

js validation messages translation not working in customer account #5820

@bjoern-quast

Description

@bjoern-quast

Preconditions

  1. Magento CE 2.1.0 without sample data is installed.
  2. Splendit Internet's mage2-locale-de-de is installed
  3. A custom language pack is installed for de_DE

Steps to reproduce

  1. Add translation to custom language pack:

Minimum length of this field must be equal or greater than %1 symbols. Leading and trailing spaces will be ignored.,Mindestlänge dieses Feldes muss größer oder gleich %1 Zeichen sein. Führende oder nachfolgende Leerzeichen werden ignoriert.

  1. Log in as customer in the German store
  2. Under "change password", enter fewer than the required symbols

Expected result

  1. Message that appears:

Mindestlänge dieses Feldes muss größer oder gleich 8 Zeichen sein. Führende oder nachfolgende Leerzeichen werden ignoriert.

Actual result

  1. Message that appears:

Minimum length of this field must be equal or greater than 8 symbols. Leading and trailing spaces will be ignored.

Also true for many other validation messages in the customer account, as well as the register new customer page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: TranslationFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions