Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
(Russian cyrillic) ERROR on save - Content Type name cannot be pluralized #7098
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Hello! It's not planned to support this. |
thx for answer |
|
@reslear i have made some investigations. I found a little workaround (but it's not ideal! you will see explanation at the end of comment):
const pluralize = require('pluralize')
module.exports = () => {
// add any rules. First argument is Regex, second is string to replace
pluralize.addPluralRule(/я$/i, 'и')
pluralize.addPluralRule(/мышь$/i, 'мыши')
};UPD: methods
But there is a bad thing i mentioned above: we have mis grammars in other places This method can be used for any language. |
|
@Ashot-KR wow, good temporary solution |
|
This is a very important issue: If you change "info.name" (to smth, that can't be pluralized) from the code at .json file, then you won't be able to add new fields to this content type. I've tried one of the latest Strapi (3.2.3) and the issue is still there. |
|
One of my project was on Strapi 3.0.0-beta.19. I got some free time and now want migrate for last and stable version. As code base was not large I started start from scratch, but I stuck with this problem. It would be nice to have extra field for side bar label. |
|
Hello everyone, thanks for your feedback. |






Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the behavior
Expected behavior
payload: error: contentType.nameContent Type name "Заказы" cannot be pluralized. Suggestion: add Item after the name (e.g News -> NewsItem).Screenshots

System