add more than one language to the attribute type
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
add more than one language to the attribute type
Hello,
Is there a possibility to add more than one language to the attribute type? for example: Color
Is there a possibility to add more than one language to the attribute type? for example: Color
Re: add more than one language to the attribute type
Yes, you can add translation for the attribute type in your ./config/shop.php in the "i18n" section:
https://aimeos.org/docs/latest/laravel/ ... anslations
In the HTML client templates, the codes are translated here:
https://github.com/aimeos/ai-client-htm ... y.php#L381
An example for a translation would be:
https://aimeos.org/docs/latest/laravel/ ... anslations
In the HTML client templates, the codes are translated here:
https://github.com/aimeos/ai-client-htm ... y.php#L381
An example for a translation would be:
Code: Select all
'i18n' => [
'en' => [
'client/code' => [
'color' => ['Colour'],
],
],
'de' => [
'client/code' => [
'color' => ['Farbe'],
],
],
],
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
