Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to choose a translation exception when trying to use duration twig filter using PL locale #211

Open
jkobus opened this issue May 5, 2024 · 0 comments

Comments

@jkobus
Copy link

jkobus commented May 5, 2024

Getting an exception when trying to use the duration in twig template:

An exception has been thrown during the rendering of a template ("Unable to choose a translation for "1 dzień|%count% dni" with locale "pl" for value "185". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %count% apples").").

The problem is with the translation in:

<trans-unit id="17">

Will post a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant