Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5212 by Ahmad
05 Dec 2017, 16:53
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?
#5213 by aimeos
05 Dec 2017, 22:12
You can add a translation for your property types that are translated there:
https://github.com/aimeos/ai-client-html/blob/master/client/html/templates/catalog/detail/body-default.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>'),
        ),
    ),
),