We are using the dotCMS's Layout as a service REST API to display page at the REACT framework. We have added multilingual pages in the dotCMS. When we are accessing those pages using API (LaaS) then we are getting English language page json. There is no way to get page's json for other languages.
https://dotcms.com/docs/latest/page-rest-api-layout-as-a-service-laas
Yes, you can do it, you just need to pass the
language_idparam to the endpoint, here is an example of a page I just created in the demo:In both you can check the response in
page.titleyou will see:Ans also the
renderedproperty will give you the full html in the requested language version.