Skip to Content
Menu
This question has been flagged
2 Replies
3496 Views

When I try to send an email to a foreign company, there are strings that are not getting translated. I only have this issue with version 12.0, also tested on 14.0 and worked properly there.


The strings come from the following views which are located in the file addons/mail/data/mail_data.xml

- mail_notification_paynow

- mail_notification_light


Steps to reproduce:

1. Enable Spanish language and load its translation

2. Set the language of a contact (company) to Spanish

2. Create a new quotation with said company as a Customer

3. Click Send by Email

4. Click Send


Screenshot from 12.0, strings DO NOT get translated:

https://user-images.githubusercontent.com/75302079/109169140-cdaab200-777f-11eb-8294-151395b59380.png


Screenshot from 14.0, strings get translated:

https://user-images.githubusercontent.com/75302079/109169381-0a76a900-7780-11eb-84f0-25d31efd26a7.png


Github issue: https://github.com/odoo/odoo/issues/66861

Avatar
Discard
Author Best Answer

The translations are already there, but unfortunately, are not applied

Avatar
Discard
Best Answer

You can translate, or even modify, the email templates by yourself. 

- Activate debug mode.
- Go to menu Settings / Technical / Templates.
(I guess this template is "Sales Order: Send by email")

I recomend you to make a backup copy of the template before editing it.



Avatar
Discard

You can also consider helping with translations. https://github.com/odoo/odoo/wiki/Translations

Author

The translations are already there, but are not applied

```

#. module: mail

#: model_terms:ir.ui.view,arch_db:mail.mail_notification_light

#: model_terms:ir.ui.view,arch_db:mail.mail_notification_paynow

msgid "Your"

msgstr "Su"

#. module: mail

#: model_terms:ir.ui.view,arch_db:mail.mail_notification_paynow

msgid "Best regards,"

msgstr "Saludos cordiales,"

```

Related Posts Replies Views Activity
0
Mar 15
16723
1
Mar 15
3867
1
May 19
656
2
Mar 15
3507
0
Mar 15
3267