# Access multi-lingual content through REST API

**URL:** <https://community.bloomreach.com/t/access-multi-lingual-content-through-rest-api/2350>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [January 25, 2021, 4:50pm UTC](https://community.bloomreach.com/t/access-multi-lingual-content-through-rest-api/2350 "2021-01-25T16:50:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishal\_Kumar\_Nalla](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/vishal_kumar_nalla/32/905_2.png) [@Vishal\_Kumar\_Nalla](https://community.bloomreach.com/u/Vishal_Kumar_Nalla)\
**Post date:** [January 25, 2021, 4:50pm UTC](https://community.bloomreach.com/t/access-multi-lingual-content-through-rest-api/2350/1 "2021-01-25T16:50:01Z")

</div>

Hi,

This is really critical requirement. Request your support to respond!

I have created some content items for french locale(new translated channel), as per the instructions mentioned in link [Add a Translated Channel - Bloomreach Experience - Open Source CMS](https://documentation.bloomreach.com/13/library/concepts/channels/1-adding-a-new-language-to-an-already-existing-site.html).

When I am trying to access the content using the Content REST API, using the URL below, I am not getting any data for french content.

[http://localhost:8080/site/api/documents](http://localhost:8080/site/api/documents)

Thanks  
Vishal Kumar Nalla

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [January 25, 2021, 6:34pm UTC](https://community.bloomreach.com/t/access-multi-lingual-content-through-rest-api/2350/2 "2021-01-25T18:34:33Z")

</div>

> [@Vishal\_Kumar\_Nalla](#):
>
> This is really critical requirement. Request your support to respond!

For supported projects, you can contact support via:

[https://support.bloomreach.com/](https://support.bloomreach.com/)

(this is community forum and not official support)

---

<div class="post-metadata">

**Author:** ![Vishal\_Kumar\_Nalla](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/vishal_kumar_nalla/32/905_2.png) [@Vishal\_Kumar\_Nalla](https://community.bloomreach.com/u/Vishal_Kumar_Nalla)\
**Post date:** [January 26, 2021, 6:36am UTC](https://community.bloomreach.com/t/access-multi-lingual-content-through-rest-api/2350/3 "2021-01-26T06:36:51Z")

</div>

We are using developer edition and trying to implement this requirement. When I say support, I need your views on this requirement, as how we can implement it.

---

<div class="post-metadata">

**Author:** ![bcanvural](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/bcanvural/32/235_2.png) [@bcanvural](https://community.bloomreach.com/u/bcanvural)\
**Post date:** [January 26, 2021, 8:17am UTC](https://community.bloomreach.com/t/access-multi-lingual-content-through-rest-api/2350/4 "2021-01-26T08:17:37Z")

</div>

You need to set up the content rest api for your french mount. Find the hst:host configuration for that channel and add the hst:mount config for the content rest api. Something like:

```auto
/api:
  jcr:primaryType: hst:mount
  jcr:uuid: 759ab0f2-fc01-40a7-bb52-ea3446f0531f
  hst:alias: api
  hst:ismapped: false
  hst:mountpoint: /hst:hst/hst:sites/myfrenchsite
  hst:namedpipeline: PipelineForContentRestApiCHANGETHIS
  hst:types: [rest]

```

this api node should go under your french locale so your api url would be:  
localhost:8080/site/fr/api/documents

---

<div class="post-metadata">

**Author:** ![Vishal\_Kumar\_Nalla](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/vishal_kumar_nalla/32/905_2.png) [@Vishal\_Kumar\_Nalla](https://community.bloomreach.com/u/Vishal_Kumar_Nalla)\
**Post date:** [January 26, 2021, 10:01am UTC](https://community.bloomreach.com/t/access-multi-lingual-content-through-rest-api/2350/5 "2021-01-26T10:01:53Z")

</div>

Thank you for the response. Let me try and get back to you.
