How to set up custom i18n folders without using the Extension
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!
How to set up custom i18n folders without using the Extension
Hello,
Can you please tell me if I need to change only some 'i18n' files and don't want to use the extension, is it possible to make a setting in config/shop.php to use my own 'i18n' folder, something like this:
I'm sorry, I haven't found anywhere to read about it yet.
Best Regards
Can you please tell me if I need to change only some 'i18n' files and don't want to use the extension, is it possible to make a setting in config/shop.php to use my own 'i18n' folder, something like this:
Code: Select all
'i18n' => [
'client/html' => [
'en' => [
'catalog' => '/lang/en/catalog',
'admin' => '/lang/en/admin',
// other modules and their languages
],
// other languages
],
'admin/jqadm' => [
'en' => [
'admin' => '/lang/en/admin',
'catalog' => '/lang/en/catalog',
// other modules and their languages
],
// other languages
],
// other sections and their languages
],
Best Regards
Re: How to set up custom i18n folders without using the Extension
The translations must be part of the ./config/shop.php file and referencing other files isn't possible:
Code: Select all
'i18n' => [
'client/html' => [
'en' => [
'Product' => ['Article', 'Articles'],
],
// other languages
],
'admin/jqadm' => [
'en' => [
'customers' => ['Users'],
],
// other languages
],
// other sections and their languages
],
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star