-
-
Notifications
You must be signed in to change notification settings - Fork 530
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
sentence_list not translated #2463
Comments
It might be nice if you can pass a localisable string in there. Something like this: |
Shouldn't it rather be somewhat automatic based on the locale in use for the list items? |
Even better. |
FYI the argument is the glue.
|
That was fast! |
Thanks for the fast fix @jasonvarga ! If someone doesn't need the the Oxford Comma, you can remove it with |
Added to the docs, but you should use the oxford comma! 😄 |
In Germany it's allowed, but reeeaaallly not common. The most people would mark it as error. |
So funny. And in France you should not use any kind of comma when it's located just before "et". |
Bug Description
If you use the sentence_list modifier, the "and" is not translated.
How to Reproduce
{{ list | sentence_list }}
Output: item1, item2**, and** item3
Should be: item1, item2 und item3
Extra Detail
Environment
Statamic version: 3.0.9
PHP version: 7.4
Install method (choose one):
statamic/statamic
The text was updated successfully, but these errors were encountered: