Pluralize stands for an automate script process, that checks a word (for example, english word "box") and adds its plural end "es", so it comes "boxes", when it is needed to be plural. Term is used in many programming languages.
Questions tagged [pluralize]
146 questions
2
votes
1 answer
Is there a way to set custom pluralizations in EDM designer 2010?
I am using VS 2010 and I have an entity 'Person'.
The pluralization-service turns its plural to 'People', I want it to be Persons.
Is there a place where I can manage the pluralizations library?

Shimmy Weitzhandler
- 101,809
- 122
- 424
- 632
2
votes
1 answer
iOS 7 pluralization + Arabic language
The basic problem is that the following line:
[NSString stringWithFormat:@"باقي للشراء %d", 3];
returns a string with a form of "3 arabic_text".
When I write a line:
[NSString stringWithFormat:@"%d باقي للشراء "];
again returns a string with form…

AndroC
- 4,758
- 2
- 46
- 69
2
votes
2 answers
How to remove plural words from a string in PHP?
I have a string of words which has some words like
"Cloud", "Clouds", "Application", "Applications", "Event", "Events"
and some words like
"Access"
which are singular but have "s" at the end. I want to remove the plural words but I can't write a…

user2798227
- 853
- 1
- 16
- 31
2
votes
1 answer
Linq to SQL with table name ending in "es" creates wrong entity class name
My SQL tables names are all plural - Events, Teams, Campuses, etc...
When I drag the tables in to the dbml, it creates an entity called "Campuse" which of course is incorrect. I manually rename that to Campus in the properties page, but it doesnt…

PeteShack
- 707
- 1
- 8
- 20
2
votes
1 answer
pluralize table names in non-english language with entity framework 5
Using asp .net mvc4, I want to have all my tables, views, controllers named in Italian language.
Using EF 5 Code First I get table names pluralized with english language rules, and this is bad.
Is there any place where to code custom inflection…

kranz
- 599
- 1
- 6
- 23
2
votes
0 answers
Rails can't map automatically "y" ending plural models, is it possible?
In my rails app, I added the model TreeNursery, then added in routes.rb resources :tree_nurseries do....
The first problem that I've got is that when I added has_many :tree_nurseries to the Village model, rails couldn't map it before I added…

jramby
- 426
- 5
- 14
2
votes
1 answer
Non-standard pluralization in Rails
Possible Duplicate:
How do I override rails naming conventions?
When you generate new models in Rails, it pluralizes the table name automatically. However, this doesn't always work out well – particularly with words that have non-standard…

David Jones
- 10,117
- 28
- 91
- 139
2
votes
2 answers
.NET library for pluralisation
What's the best library (if one exists) for converting nouns to and from plurals?

Garry Shutler
- 32,260
- 12
- 84
- 119
2
votes
2 answers
What's the best way to deal with English pluralisation in a rails view?
I generally do something like this, but if feels nasty and not very dry:
-if minutes == 1
added #{minutes} minute ago
-else
added #{minutes} minutes ago

superluminary
- 47,086
- 25
- 151
- 148
2
votes
2 answers
symfony2 translation with transchoice
I'm translating the following key in activity.fr.yml
user.list.link: '{1}et %count% autre|]1,Inf[voir les %count% autres'
using tranchoice
{% transchoice count from "activity" %}user.list.link{% endtranschoice %}
and…

svassr
- 5,538
- 5
- 44
- 63
2
votes
3 answers
Difference between word stemming and depluralization
In understanding string matching: What is the exact difference between word stemming and depluralization?
Or do they mean the same thing?

ade19
- 1,150
- 4
- 13
- 28
1
vote
1 answer
Exception when calling stored procedure via Linq-to-SQL
I get the following stack trace when my code tries to execute a store procedure that is present in the .dbml file.
Exception finding transfer:System.Data.SqlClient.SqlException:
Invalid object name 't_wfe_user_role'.
at…

Björn
- 583
- 5
- 15
1
vote
1 answer
Am I using Pluralizer wrong?
Paging Jay Querido...
Downloaded the Pluralizer NuGet package. My goal is to display a string like so:
X contracts with Y partners in Z countries
If X is 1, word should change to contract. If Z is 1, word should change to country. Same for 1…

danludwig
- 46,965
- 25
- 159
- 237
1
vote
1 answer
Django pluralize person as people
trying to output the correct plural value in Django template when count is more than 1.
{{ review.markers.helpful.count }} person{{ reviews.markers.helpful.count|length|pluralize }} found this helpful
still returns 1 persons or 2 persons…
coder-stix
- 53
- 5
1
vote
0 answers
How to "forze" pluralize in EF Core Scaffold-Dbcontext
When scaffolding an existing DB Model there are several table names that end with an s. Like SaleOrderPos beeing pos short for position.
I want to pluralize the DBSet but keep intanct the original table name.
EF creates a class called…

Patxistein
- 11
- 2