Shopping world elements translatable?

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 default SW elements are translatable, and now we need to translate the fields of our custom elements, but as I see there are no way to create translatable elements, right? On Shopware documentation we have this Custom shopping world elements

Example: 

$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 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 

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?
]);