Page 1 of 1

delivery emails not translated

Posted: 24 Jan 2018, 10:33
by antonlinderer
Although my payment emails are translated my delivery emails are not...I have aimeos client version 2017.10.8 installed.
Where shall I look for a solution? Thanks.

Re: delivery emails not translated

Posted: 24 Jan 2018, 22:00
by aimeos
Are they completely untranslated or are there some strings untranslated? Can you post the content of one e-mail?

Re: delivery emails not translated

Posted: 24 Jan 2018, 22:04
by antonlinderer
it is completely untranslated. It uses my fall back language which is English.

Re: delivery emails not translated

Posted: 24 Jan 2018, 22:38
by aimeos
Does that order has a delivery address with no language ID or with an unsupported language ID?
https://github.com/aimeos/ai-client-htm ... d.php#L167

Re: delivery emails not translated

Posted: 25 Jan 2018, 08:48
by antonlinderer
I have checked the orders in table mshop_order_base_address and mshop_order_base and both have langid specified nl for Dutch for the same order but the delivery email is sent out in English.

Re: delivery emails not translated

Posted: 26 Jan 2018, 09:21
by aimeos
That's strange! Nevertheless, we've released two new versions:
- ai-admin-jqadm: 2017.10.19
- ai-client-html: 2017.10.9

In the admin interface, the language ID of the address was cleared if you save an item in the order panel. This has been fixed now. Additionally, we've added a fallback to the language ID of the order if none is set in the billing/delivery address.

We have tested delivery e-mails and they get translated as expected.

Re: delivery emails not translated

Posted: 26 Jan 2018, 09:42
by antonlinderer
OK this has solved the problem. However, in admin > orders> order when you change the language for the order it is not saved in the database.

Re: delivery emails not translated

Posted: 26 Jan 2018, 16:15
by aimeos
Thank you for the hint! This has been fixed now with Aimeos core 2018.01.3 and 2017.10.12