Skip to content

Conversation

aalmonte
Copy link

@rmariuzzo Please your review

This change fix usage of locale parameter inside choice method. Before it was only used for message resolution but not for plural form.

By default supports plural forms 0 and 1. This allows to use locales not listed in __getPluralForm function.
- Use locale parameter to resolve plural form of messages
- Adds locale parameter to transChoice method
- Adds locale parameter and fallback to default in getPluralForm method
@aalmonte aalmonte requested a review from rmariuzzo as a code owner November 29, 2017 17:37
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

Successfully merging this pull request may close these issues.

1 participant