Reputation: 172
I have been trying to find out whether one can translate the content from Shopping experience product pages.
I have found the relevant documentation for Categories but I see no mention of the corresponding product translations.
It seems that this should be a thing that is translatable in the settings where you select the per-product configs for the blocks
I have tried the following:
Am I doing something wrong? Is this a bug? The Shopware version is 6.4.10. Is there a non-hacky way to translate the content from per-product for product pages in Shopping experiences?
The shop's default language is English if this is relevant.
Upvotes: 0
Views: 101
Reputation: 35008
I can reproduce this in higher Shopware versions (6.4.16.0)
The data is stored at product_translation
in the slot_config
field, so it looks like this should be translatable in the long run but obviously it's not yet implemented and/or a bug.
You might want to create a request at https://issues.shopware.com/
As a not-to-hacky workaround you might add your translated data to the product entity itself using a custom field. This custom field can be inserted via twig {{ customFields.my_test_field }}
in the product and the translation works for such custom fields.
Upvotes: 1