Replace translation not working
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!
Replace translation not working
Laravel framework version: 9.26.1
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.9
Environment: Linux
I'm following the documentation for replacing translations here:
https://aimeos.org/docs/2022.x/develope ... anslations
I am attempting to replace the translations found in:
vendor/aimeos/aimeos-core/i18n/mshop/code/bg.po
I have placed the copied and modified .po file in my extension like so:
packages/my-extension/i18n/mshop/code/bg.po
And I have executed the required command in the directory:
msgfmt --statistics -c -o bg bg.po
This created a new "bg" file in the same directory.
But it's not working, apparently it's not using the new "bg" file I've generated.
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.9
Environment: Linux
I'm following the documentation for replacing translations here:
https://aimeos.org/docs/2022.x/develope ... anslations
I am attempting to replace the translations found in:
vendor/aimeos/aimeos-core/i18n/mshop/code/bg.po
I have placed the copied and modified .po file in my extension like so:
packages/my-extension/i18n/mshop/code/bg.po
And I have executed the required command in the directory:
msgfmt --statistics -c -o bg bg.po
This created a new "bg" file in the same directory.
But it's not working, apparently it's not using the new "bg" file I've generated.
Re: Replace translation not working
The translations must be directly in the i18n directory of your extension (all in one file).
Where the translations are looked up is defined in the "i18n" section of the manifest.php file in your extension.
Where the translations are looked up is defined in the "i18n" section of the manifest.php file in your extension.
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
Re: Replace translation not working
Thank you, it works now