Wrong E-Mail-language after update from 2.4.6 to 16.7.0
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 38
- Joined: 23 Nov 2015, 14:10
Wrong E-Mail-language after update from 2.4.6 to 16.7.0
Hi, it's me one more time...
Since I updated Aimeos (Typo3-Ext) from 2.4.6 to 16.7.0 I use the "scheduler for aimeos-shop-emails" instead of the "Extbase-CommandController-Task (extbase)" (and the respective mail-jobs) which obviously doesn't exist any longer.
But now all E-Mails are sent in English instead of German as they were before.
Can you give a hint what's wrong , please...?
Thank you in advance
Ralph
Since I updated Aimeos (Typo3-Ext) from 2.4.6 to 16.7.0 I use the "scheduler for aimeos-shop-emails" instead of the "Extbase-CommandController-Task (extbase)" (and the respective mail-jobs) which obviously doesn't exist any longer.
But now all E-Mails are sent in English instead of German as they were before.
Can you give a hint what's wrong , please...?
Thank you in advance
Ralph
Re: Wrong E-Mail-language after update from 2.4.6 to 16.7.0
Can you have a look into the addresses of your orders (mshop_order_base_address table)? What's the language stored there?
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
-
- Posts: 38
- Joined: 23 Nov 2015, 14:10
Re: Wrong E-Mail-language after update from 2.4.6 to 16.7.0
The langid in the mshop_order_base_address-table is always NULL (in all orders AFTER the update. In all previous orders, that worked fine, it's de)
Re: Wrong E-Mail-language after update from 2.4.6 to 16.7.0
The language should be set in the address part of the checkout process. Did you removed the language selection there? If yes, you should add it using the configuration for "hidden" form elements again:
https://aimeos.org/docs/Configuration/C ... ing/hidden
https://aimeos.org/docs/Configuration/C ... ing/hidden
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
-
- Posts: 38
- Joined: 23 Nov 2015, 14:10
Re: Wrong E-Mail-language after update from 2.4.6 to 16.7.0
Okay, thank you. I fixed it now by adding these two commands (only the "hidden"-command didn't work):
plugin.tx_aimeos.settings.client.html.checkout.standard.address.delivery.mandatory {
8 = order.base.address.languageid
}
plugin.tx_aimeos.settings.client.html.checkout.standard.address.delivery.hidden {
8 = order.base.address.languageid
}
plugin.tx_aimeos.settings.client.html.checkout.standard.address.delivery.mandatory {
8 = order.base.address.languageid
}
plugin.tx_aimeos.settings.client.html.checkout.standard.address.delivery.hidden {
8 = order.base.address.languageid
}
Re: Wrong E-Mail-language after update from 2.4.6 to 16.7.0
That's too much. Either "mandatory" if it should be shown or "hidden" if you only have one value and it should be not shown. Use this in you case only:franzrudolf wrote: plugin.tx_aimeos.settings.client.html.checkout.standard.address.delivery.mandatory {
8 = order.base.address.languageid
}
plugin.tx_aimeos.settings.client.html.checkout.standard.address.delivery.hidden {
8 = order.base.address.languageid
}
Code: Select all
plugin.tx_aimeos.settings.client.html.checkout.standard.address.delivery.hidden {
8 = order.base.address.languageid
}
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
-
- Posts: 38
- Joined: 23 Nov 2015, 14:10
Re: Wrong E-Mail-language after update from 2.4.6 to 16.7.0
I tried this, but without the mandatory-command the e-mails switched to english again. To me this is strange, too, because, if I only set the mandatory-command, German language is set by default (if you want to switch to English you must choose this manually).
Re: Wrong E-Mail-language after update from 2.4.6 to 16.7.0
Ah, ok. Mandatory is to enforce value and hidden is to don't show the select drop-down.
By default, the config.language setting of your TYPO3 page tree is used if there's also a locale entry available in the expert mode admin interface (Locale tab) for the site and language.
By default, the config.language setting of your TYPO3 page tree is used if there's also a locale entry available in the expert mode admin interface (Locale tab) for the site and language.
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