# Shopping world elements translatable?

**URL:** <https://forum.shopware.com/t/shopping-world-elements-translatable/47243>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [2. August 2017 um 08:53 UTC](https://forum.shopware.com/t/shopping-world-elements-translatable/47243 "2017-08-02T08:53:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cboita](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cboita](https://forum.shopware.com/u/cboita)\
**Post date:** [2. August 2017 um 08:53 UTC](https://forum.shopware.com/t/shopping-world-elements-translatable/47243/1 "2017-08-02T08:53:19Z")

</div>

Hi there,

We are working on a international shop, and we have some plugins that creates Shopping world elements for SW pages we are using. Some of&nbsp;default SW elements are translatable, and now&nbsp;we need to translate the fields of our custom elements, but&nbsp;as I see there are no way to create translatable elements, right? On Shopware documentation we have this&nbsp;[Custom shopping world elements](https://developers.shopware.com/developers-guide/custom-shopping-world-elements/)

Example:&nbsp;

```
$myElement->createTextAreaField([
    'name' => 'swag_company_description',
    'fieldLabel' => 'Company description',
    'supportText' => 'Enter your company description',
    'defaultValue' => 'Shopware is awesome!'
]);

```

It would be nice if Shopware can add the property ‚translatable‘ here, to have the fields translatable.

After some research I checked on database table&nbsp;s\_library\_component\_field, the place where these fields configuration are saved and there is the translatable column. if we set the value there to ‚1‘, the field becames translatable on SW element. But this isn’t a good way to work, can you clarify how can we do this programatically?

Best&nbsp;

---

<div class="post-metadata">

**Author:** ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)\
**Post date:** [2. August 2017 um 09:26 UTC](https://forum.shopware.com/t/shopping-world-elements-translatable/47243/2 "2017-08-02T09:26:19Z")

</div>

This worked for me:

```
$myElement->createTextAreaField([
    'name' => 'swag_company_description',
    'fieldLabel' => 'Company description',
    'supportText' => 'Enter your company description',
    'defaultValue' => 'Shopware is awesome!',
    'translatable' => true, // works for me?
]);

```

&nbsp;
