VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: changlee on January 28, 2015, 19:26:40 PM

Title: Email language overrides are not working
Post by: changlee on January 28, 2015, 19:26:40 PM
Hello Vmers!
I have set a greek language oaverride eg:
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_C="123... [%3$s], Επιβεβαιωμένη παραγγελία από %1$s, σύνολο %2$s"

But the received email includes the default greek override:
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_C="[%3$s], Επιβεβαιωμένη παραγγελία από %1$s, σύνολο %2$s"

Without the 123... that I have added for test.

Why is that happening?

Thanks in advance
Title: Re: Email language overrides are not working
Post by: jjk on January 29, 2015, 22:57:55 PM
Does it work if you add the override into both, frontend and backend override folders?
Title: Re: Email language overrides are not working
Post by: changlee on February 03, 2015, 07:13:15 AM
The only changes that are working are those at el-GR.com_virtuemart.ini

If I make any override for front end or administrator, it does not works.
Title: Re: Email language overrides are not working
Post by: jjk on February 03, 2015, 11:51:18 AM
Maybe it is related to the character encoding of the emails. If you open the email in your browser, does it show utf-8 encoding or greek-encoding?
Title: Re: Email language overrides are not working
Post by: changlee on February 03, 2015, 15:45:39 PM
How can I check the character encoding? All emails are opened through gmail or hotmail.

But the email is generated before arriving to client.
Title: Re: Email language overrides are not working
Post by: jjk on February 03, 2015, 16:08:51 PM
Quote from: changlee on February 03, 2015, 15:45:39 PM
How can I check the character encoding? All emails are opened through gmail or hotmail.
In my email-client I simply open the email and then right-click in the text. Then it displays an option 'Open Message in WebBrowser'. In Firefox and Internet Explorer you can then select 'View' > 'Encoding'.
Title: Re: Email language overrides are not working
Post by: multigeo on March 06, 2015, 17:46:37 PM
I experienced the exact same problem with the same email subject lines.
After digging found out that the overrides has to be in the Administrator section. So I copied my override language file to  /administrator/language/overrides and now it works correctly.
Hope this helps.
Title: Re: Email language overrides are not working
Post by: changlee on March 12, 2015, 18:12:38 PM
Exactly! I save the VALUES both for administrator and site, and it is working perfect :-)