# Unable to get translation locale via API

**URL:** https://forum.shopware.com/t/unable-to-get-translation-locale-via-api/65250
**Category:** International (English Only)
**Created:** [5. März 2020 um 11:23 UTC](https://forum.shopware.com/t/unable-to-get-translation-locale-via-api/65250 "2020-03-05T11:23:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jachus](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jachus](https://forum.shopware.com/u/jachus)
#### Post date: [5. März 2020 um 11:23 UTC](https://forum.shopware.com/t/unable-to-get-translation-locale-via-api/65250/1 "2020-03-05T11:23:01Z")

</div>

We are trying to get the Article information via Shopware v5 API and it seems to be impossible to get the **locale for translations**.

The translation entries are referencing to the Shop (via **shopId** )

```
"translations": {
  "3": {
    "name": "Variant product (DE)",
    "descriptionLong": "Description (DE)",
    "shopId": 3
  }
}

```

but the Shop entry doesn’t reveal its locale:

```
{
    "data": {
        "id": 1,
        "mainId": null,
        "categoryId": 3,
        "name": "Demoshop (EN)",
        "title": null,
        "position": 0,
        "host": "test.de.shopware-hosting.com",
        "basePath": null,
        "baseUrl": null,
        "hosts": "test.de.shopware-hosting.com",
        "secure": false,
        "templateId": 23,
        "default": true,
        "active": true,
        "customerScope": false,
        "currency": {
            "id": 3,
            "currency": "USD",
            "name": "USD",
            "default": 0,
            "factor": 0,
            "symbol": "$",
            "symbolPosition": 0,
            "position": 0
        }
    },
    "success": true
}

```

So, it turns out you can’t know what language the translation stands for!

Has someone solved it in some way?
