- Strapi Version: 4.2.2
- Operating System:
- Database: postgres
- Node Version: 16.15.1
- NPM Version:
- Yarn Version:
I’m currently trying to get localized data for one specific instance of a Collection Type.
Let’s say I have a Collection Type called Project.
If I want to get all Projects in french I just need to call the exposed endpoint
myApi/projects with the parameter
myApi/projects?_locale=fr and it’s working pretty well.
But if I try to get one specific project for example
myApi/projects/1?_locale=fr it returns a
404 not found.
By the way,
myApi/projects/1 return the project but in the default locale which is English.
How I can get all entities of collection type ?
Thanks for helping me.