Humanizr / Humanizer

Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Other
8.52k stars 947 forks source link

Pluralization of Taxes. #1499

Open McGregorsoft opened 2 months ago

McGregorsoft commented 2 months ago

Can't find a bug reporting guideline. Not sure if bug or intended pluralization. Taxes (what you pay the government) is translated to Taxis?

Found when using EF Core Scaffolding tools.

Output a member like the below:

public virtual DbSet IncomeTaxTableSurtaxes { get; set; }

Any db table that ends with Taxes get's the same treatment. Singular of Taxes should be Tax. Possibly this isn't localized correctly?

hangy commented 2 months ago

According to wiktionary, "taxes" actually is the plural of "taxis". So the correct singularization would depend on the context.

jeeshenlee commented 1 month ago

I was expecting Taxes to Tax conversion too.