Skip to content

[Translation] The 'other' key is mandatory in ICU 'select' #14072

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

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

javiereguiluz
Copy link
Member

In a new Symfony app I worked on recently, we use ICU intl messages. Symfony makes it super easy to use and everything works perfectly. Thanks to everybody who made it possible!

However, when using select, the other key is mandatory. In some messages of my app we only have two options, so I didn't add other at first ... and I saw this:

image

This option being mandatory is mentioned in http://userguide.icu-project.org/formatparse/messages and https://messageformat.github.io/messageformat/page-guide#toc3__anchor so we may do the same.

@javiereguiluz javiereguiluz added this to the 4.4 milestone Aug 14, 2020
@javiereguiluz javiereguiluz merged commit 9fe46e9 into symfony:4.4 Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants