logto icon indicating copy to clipboard operation
logto copied to clipboard

bug: Localization error on sing-up experience in Polish

Open mbablok opened this issue 1 year ago • 1 comments

Describe the bug

There is a non-translated/not-found text on the sing-in process using Polish language. Regardless of password policy it renders as Wymagania dotyczące hasła description.password_requirement.length. The translation is there, I tried to play around with overriding them but no success.

Expected behavior

It should be rendered as Wymagania dotyczące hasła wymaga co najmniej {{count}} znaku. or rather Wymagania dotyczące hasła wymaga co najmniej 8 znaków.

How to reproduce?

In Sing-in experience

  • Change the language to Polish
  • Disable auto-detect
  • Live Preview
  • Go to create account and password creation

Context

  • [x] Logto Cloud
  • [ ] Self-hosted, Logto version =
    • [ ] Container (Docker image)
    • [ ] Raw Node.js

Screenshots

image Screenshot 2024-08-20 at 16 40 45

mbablok avatar Aug 20 '24 14:08 mbablok

Hi, thx for the report. Turns out the pl does not read the _other key for plural phrases.

https://github.com/logto-io/logto/pull/6510

simeng-li avatar Aug 23 '24 08:08 simeng-li

Thank you 👍

mbablok avatar Aug 26 '24 12:08 mbablok