Closed Ayman-Kortobaa closed 4 years ago
For clarification I have only changed 2 lines in 2 files, the rest of changes are due to dartfmt
.
More precisely I added these two lines:
in lib/constants.dart
static const String pluralTwo = '2';
and in lib/localization.dart
case 2:
return Constants.pluralTwo;
Thanks for the pull request, however I will not merge this since the code formatting should not be changed. Additionally the examples and the documentation would need to be updated as well.
Thanks for the feedback. Totally understandable, I will add another PR without changing code formatting and updating docs and examples.
Thanks @Ayman-Kortobaa
It's a simple change to add support for languages with duals or double plural. The list of languages included on the wikipedia page here.
Thanks for the great package!