Page 1 of 1

Order emails are not translated

Posted: 16 Feb 2018, 11:01
by t_csaba
I have a typo3 website with multiple languages configured, and I ran into a problem with the email sending. When a customer buys something, all the emails are sent in english, and english isn't even set as the default language. Am i missing a configuration? Or is this related to this problem: laravel-package-f18/delivery-emails-not ... t1311.html

typo3 8.7.7
php 7.0.16
Aimeos 17.10.1

Re: Order emails are not translated

Posted: 16 Feb 2018, 17:45
by aimeos
Can you check if the langid column in the mshop_order_base_address table is set?

Here's a new pre-release for the 2017.10 branch:
https://aimeos.org/fileadmin/download/a ... 4-pre1.zip

Re: Order emails are not translated

Posted: 23 Feb 2018, 09:28
by t_csaba
Strangely the langid for some previous emails is set, but for the most recent ones is NULL
Is it just a case of misconfiguration?

Re: Order emails are not translated

Posted: 23 Feb 2018, 23:13
by aimeos
There was a bug in recent versions that cleared the language ID in the customer address of the order if you save the order in the JQAdm admin interface. Another reason might be that you removed the (hidden) language selection from the address section in the checkout process.

Re: Order emails are not translated

Posted: 27 Feb 2018, 08:30
by t_csaba
Thank you, the hidden language selection was the problem, now i have set it to required and hidden, and that fixed the problem. Now I have another... Aimeos was unavailable in one of my languages requested by the customer, so I overwrote some translations from typoscript, because it seemed to be easier then creating a transifex account and all that... but in the emails I cant overwrite most of the texts. All of them are in po files so i guesss i will have to translate them using transifex anyway. Thank you very much for your help tho :D

Re: Order emails are not translated

Posted: 27 Feb 2018, 08:44
by aimeos
You must add the translations to the TS-Config field of the scheduler task for the e-mails.
It would be great if you could add the translations for the new language to Transifex as well. You can log in with an existing social media account immediately: https://www.transifex.com/signin/?next=/aimeos/