C# 中的非英语复数形式

Non English Plural Forms in C#

我正在使用翻译系统,对于非英语复数形式,它有一个、许多、少数等概念

非英语语言的复数形式可能很复杂,但是 documented here 所以我可以写一些东西,但是是否已经有一种 C# 方法可以根据数字和文化知道使用哪种复数形式?

我看过Enitiy Framework but this is only for English. I have also looked at Humanizer,但似乎没有支持。

您可能想看看 messageformat and it's nuget package MessageFormat

Messageformat is a mechanism for handling both pluralization and gender in your applications. It can also lead to much better translations, as it's designed to support all the languages included in the Unicode CLDR.

我有一段时间没用了,但看起来很结实。