m using wp rest api to create a decouple website. At this moment i already can recieve data from homepage with this call(using a plugin to make json from api pretty):
mydomain.com/wp-json/better-rest-endpoints/v1/page/homepage and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/homepage
this 2 calls work just fine but, when i create another page for example about-me and make the same calls
mydomain.com/wp-json/better-rest-endpoints/v1/page/about-me and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/about-me
the main language works just fine bue the translation (in this case English) is returning null on ACF object.
is something wrong? the way that i made the translations is the same on both cases
m using wp rest api to create a decouple website. At this moment i already can recieve data from homepage with this call(using a plugin to make json from api pretty):
mydomain.com/wp-json/better-rest-endpoints/v1/page/homepage and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/homepage
this 2 calls work just fine but, when i create another page for example about-me and make the same calls
mydomain.com/wp-json/better-rest-endpoints/v1/page/about-me and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/about-me
the main language works just fine bue the translation (in this case English) is returning null on ACF object.
is something wrong? the way that i made the translations is the same on both cases