News:

Looking for documentation? Take a look on our wiki

Main Menu

Email language overrides are not working

Started by changlee, January 28, 2015, 19:26:40 PM

Previous topic - Next topic

changlee

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
Free SMTP Newsletter at https://www.emailbat.com and my complete SEO services at http://www.blb.gr

jjk

Does it work if you add the override into both, frontend and backend override folders?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

changlee

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.
Free SMTP Newsletter at https://www.emailbat.com and my complete SEO services at http://www.blb.gr

jjk

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?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

changlee

How can I check the character encoding? All emails are opened through gmail or hotmail.

But the email is generated before arriving to client.
Free SMTP Newsletter at https://www.emailbat.com and my complete SEO services at http://www.blb.gr

jjk

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'.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

multigeo

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.

changlee

Exactly! I save the VALUES both for administrator and site, and it is working perfect :-)
Free SMTP Newsletter at https://www.emailbat.com and my complete SEO services at http://www.blb.gr