nestjs-i18n
nestjs-i18n copied to clipboard
Suggestion to implement ICU syntax for gender and pluralization
I would like to suggest a new feature for NestJS i18n that would enable the use of ICU syntax for gender and pluralization. Currently, ngx-translate-messageformat-compiler is used in Angular to handle gender and pluralization, which is a powerful tool that leverages the messageformat.js library.
Given that NestJS is based on the Angular architecture, it would be great to have this feature integrated into the nestjs-i18n plugin. Currently, there is no possibility to use gender and the syntax to achieve pluralization is somewhat cumbersome, requiring multiple translations/lines for a single purpose.
I believe that implementing this feature would greatly enhance the i18n capabilities of NestJS and improve the development experience for multilingual applications. Thank you for considering this suggestion.
would you like a pr?