String pluralization

Hello,

I'm looking for a best practice solution to handel string pluralization in the .NET environment. I want to avoid strings with multiple one grammatical numbers in one sentence. e.g. "You have no writing permission(s) for the user(s)." Does Passolo offer options for pluralization of strings and placeholders or do I have to rely on the features of the development environment. Are there some well developed libraries which can handle such forms?

What I found by now: SmartFormat.NET or Pluralizer

Can you share your experiences?

Parents
  • Compared to other localization concepts and resource file formats (like PO, TS from Qt, Android XML), Microsoft .NET resources doesn’t support any kind of pluralization. Passolo can support pluralization, but only if the resource files support it.

    I don’t know how the mentioned tools are working and the impact on the localization process. Hopefully it is implemented in a consistent way to that the localization concept doesn’t change.

    Internally Passolo is also using some self-developed functions to support pluralization in the Passolo UI. Our internal concept is similar to what is possible in Java (properties files). Instead of having multiple text entries for the different pluralization cases (like PO or Android XML) we have chosen a method that allows to have just one text entry that encodes multiple pluralization cases.
Reply
  • Compared to other localization concepts and resource file formats (like PO, TS from Qt, Android XML), Microsoft .NET resources doesn’t support any kind of pluralization. Passolo can support pluralization, but only if the resource files support it.

    I don’t know how the mentioned tools are working and the impact on the localization process. Hopefully it is implemented in a consistent way to that the localization concept doesn’t change.

    Internally Passolo is also using some self-developed functions to support pluralization in the Passolo UI. Our internal concept is similar to what is possible in Java (properties files). Instead of having multiple text entries for the different pluralization cases (like PO or Android XML) we have chosen a method that allows to have just one text entry that encodes multiple pluralization cases.
Children