Link to the documentation page or resource
https://docs.strapi.io/cms/api/rest#get-all
Describe the bug
We have created a content-type with one component and one text field. Both text field and components are localized.
When tried to get the documents for content-type for particular locale ("fr"), component's locale is not returned instead recent records are returned.
URL: http://:443/api/site-sections?locale=fr&populate=*

Additional context
Version: 5.12.4
Suggested improvements or fixes
No response
Related issue(s)/PR(s)
No response