PluralNet | Support all existing languages | Internationalization library
kandi X-RAY | PluralNet Summary
kandi X-RAY | PluralNet Summary
PluralNet adds support of pluralization and plural forms to your application. Very easy to use and compatible with RESW and RESX files. #How to use it?.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PluralNet
PluralNet Key Features
PluralNet Examples and Code Snippets
Community Discussions
Trending Discussions on PluralNet
QUESTION
In order to properly handle pluralisation, Qt has QObject::tr(), gettext has ngettext, Rails has a good i18n API, Cocoa has .stringsdict files. All those systems take in account the actual number (quantity) to determine the appropriate plural form for a given language.
I know about Humanizer, NGettext and PluralNet but I'm looking for a built-in equivalent in .NET. Does it exist or am I out of luck?
...ANSWER
Answered 2019-May-14 at 12:03This is not exactly a built-in solution, but there's a Visual Studio extension, ReswPlus (on Visual Studio Marketplace), that leverages PluralNet and produces methods taking a number as argument to automatically choose the correct plural form for a given localization.
Here's an excerpt from the README about pluralization:
The resources:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PluralNet
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page