System Information
-
Strapi Version: V4
-
Operating System: Linux
-
Database: PostgreSQL
-
Node Version:
-
NPM Version:
-
Yarn Version:
Hi everybody !
Is there a way to get all the translations of a specific content ? I mean if i have articles content type defined, is there a call where i can get it in all my locales ?
Thanx
Hi! Have you solve this? I’m facing the same doubt 
@rpayeras Use all
as a value for the locale code, as in http://localhost:1337/api/restaurants?locale=all
, to fetch entries for all locales that have been configured in the admin panel.
Hi! Yeah I knew it!
what I need is, what happens when we want an specific restaurant which we are getting by slug? Can we can get related translations of one record? For setup alternative hreflangs 
Ah, gotcha, you can filter them with &filters[slug]=restart_slug
param:
http://localhost:1337/api/restaurants?locale=all&filters[slug]=restart_slug
1 Like