Does .NET have a built-in pluralisation mechanism?Sending email in .NET through GmailHow to escape braces (curly brackets) in a format string in .NET.NET String.Format() to add commas in thousands place for a numberDifference between decimal, float and double in .NET?How can I get the application's path in a .NET console application?Reading settings from app.config or web.config in .netEasiest way to split a string on newlines in .NET?How do I remedy the “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?How do I force my .NET application to run as administrator?How do I turn a C# object into a JSON string in .NET?
What Brexit proposals are on the table in the indicative votes on the 27th of March 2019?
Why Were Madagascar and New Zealand Discovered So Late?
Purchasing a ticket for someone else in another country?
India just shot down a satellite from the ground. At what altitude range is the resulting debris field?
Customer Requests (Sometimes) Drive Me Bonkers!
You cannot touch me, but I can touch you, who am I?
Is `x >> pure y` equivalent to `liftM (const y) x`
Sort a list by elements of another list
How long to clear the 'suck zone' of a turbofan after start is initiated?
Go Pregnant or Go Home
Trouble understanding the speech of overseas colleagues
Opposite of a diet
Is expanding the research of a group into machine learning as a PhD student risky?
What is paid subscription needed for in Mortal Kombat 11?
How to write papers efficiently when English isn't my first language?
How can I kill an app using Terminal?
Crossing the line between justified force and brutality
Do the temporary hit points from Reckless Abandon stack if I make multiple attacks on my turn?
How do I extract a value from a time formatted value in excel?
Why are there no referendums in the US?
Applicability of Single Responsibility Principle
Where does the Z80 processor start executing from?
Was Spock the First Vulcan in Starfleet?
Short story about space worker geeks who zone out by 'listening' to radiation from stars
Does .NET have a built-in pluralisation mechanism?
Sending email in .NET through GmailHow to escape braces (curly brackets) in a format string in .NET.NET String.Format() to add commas in thousands place for a numberDifference between decimal, float and double in .NET?How can I get the application's path in a .NET console application?Reading settings from app.config or web.config in .netEasiest way to split a string on newlines in .NET?How do I remedy the “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?How do I force my .NET application to run as administrator?How do I turn a C# object into a JSON string in .NET?
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?
.net plural
add a comment |
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?
.net plural
This looks promising but I've not used it: docs.microsoft.com/en-us/dotnet/api/…
– Joe Sewell
Mar 21 at 15:57
Unfortunately, PluralizationService is only supported for the English language (it throwsNotImplementedException
for other languages). You can also see in its API that it was not designed with other languages in mind since it is only about singular/plural and many languages have more than those two plural forms.
– 0xced
2 days ago
add a comment |
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?
.net plural
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?
.net plural
.net plural
edited Mar 21 at 15:59
phuzi
4,78312036
4,78312036
asked Mar 6 at 23:35
0xced0xced
17.7k670211
17.7k670211
This looks promising but I've not used it: docs.microsoft.com/en-us/dotnet/api/…
– Joe Sewell
Mar 21 at 15:57
Unfortunately, PluralizationService is only supported for the English language (it throwsNotImplementedException
for other languages). You can also see in its API that it was not designed with other languages in mind since it is only about singular/plural and many languages have more than those two plural forms.
– 0xced
2 days ago
add a comment |
This looks promising but I've not used it: docs.microsoft.com/en-us/dotnet/api/…
– Joe Sewell
Mar 21 at 15:57
Unfortunately, PluralizationService is only supported for the English language (it throwsNotImplementedException
for other languages). You can also see in its API that it was not designed with other languages in mind since it is only about singular/plural and many languages have more than those two plural forms.
– 0xced
2 days ago
This looks promising but I've not used it: docs.microsoft.com/en-us/dotnet/api/…
– Joe Sewell
Mar 21 at 15:57
This looks promising but I've not used it: docs.microsoft.com/en-us/dotnet/api/…
– Joe Sewell
Mar 21 at 15:57
Unfortunately, PluralizationService is only supported for the English language (it throws
NotImplementedException
for other languages). You can also see in its API that it was not designed with other languages in mind since it is only about singular/plural and many languages have more than those two plural forms.– 0xced
2 days ago
Unfortunately, PluralizationService is only supported for the English language (it throws
NotImplementedException
for other languages). You can also see in its API that it was not designed with other languages in mind since it is only about singular/plural and many languages have more than those two plural forms.– 0xced
2 days ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033867%2fdoes-net-have-a-built-in-pluralisation-mechanism%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033867%2fdoes-net-have-a-built-in-pluralisation-mechanism%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This looks promising but I've not used it: docs.microsoft.com/en-us/dotnet/api/…
– Joe Sewell
Mar 21 at 15:57
Unfortunately, PluralizationService is only supported for the English language (it throws
NotImplementedException
for other languages). You can also see in its API that it was not designed with other languages in mind since it is only about singular/plural and many languages have more than those two plural forms.– 0xced
2 days ago