Page 1 of 1

how add locale text for product property types?

Posted: 05 Dec 2017, 16:53
by Ahmad
i add a product type in Product Types for show in additional box properties in product details page,
but I did not find a place to add text in another languages for product types like attributes?
How can I do this?

Re: how add locale text for product property types?

Posted: 05 Dec 2017, 22:12
by aimeos
You can add a translation for your property types that are translated there:
https://github.com/aimeos/ai-client-htm ... t.php#L452

Here's documentation how to add/overwrite translations:
https://aimeos.org/docs/Laravel/Overwrite_translations

You need something like:

Code: Select all

'i18n' => array(
    'ar' => array(
        'client/code' => array(
            '<my property type>' => array('<new translation>'),
        ),
    ),
),