Hi,
I’m new with BR and i’m trying to receive translated document through rest.
I’ve got document in two languages in CMS. Any tips how could I achieve that?
Thanks
Hi,
I’m new with BR and i’m trying to receive translated document through rest.
I’ve got document in two languages in CMS. Any tips how could I achieve that?
Thanks
If you are using the content rest API, you only get the documents that belong to that mount. You can’t really switch between a document and the translation directly.
If you are creating a custom service, you can get translated documents by calling getAvailableTranslations on the document object.
Thanks, got what needed through getAvailableTranslations
Hello @Donce ,
We are happy you are part of Bloomreach Developer’s Community.
Thank you for reaching out to us.
We hope we have answered your queries and therefore marking this thread for Closure.
We are delighted to acknowledge your ongoing contributions to our esteemed Bloomreach Community.
Best Regards,
Bloomreach