News:

Looking for documentation? Take a look on our wiki

Main Menu

Order confirmation email / wrong language

Started by Tentaurus, October 23, 2018, 10:04:01 AM

Previous topic - Next topic

Tentaurus

Since I've updated to VM 3.4.x I get the order confirmation email (the SUBJECT) in english instead of german. Both vendor and customer email.
I use the latest language file.

jjk

I can't reproduce that with VM 3.4.0 or 3.4.2. My shopper/vendor emails arrive in the correct language. Which exact Joomla and VM version do you use? Did you change a language setting in Joomla?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

There is one in the team with the same problem, but I was also not able to reproduce it.

In my case, I set the joomla default to german, the shop language to english, the possible languages to german, english, russian. Checked out in german, the vendor got an english email, the shopper a german email. Also the subjects were okey.

Please enable the email debug mode in the vm config, then send the lines with
vmdebug 3 Languages, default shoplanguage (VmConfig::$jDefLang): en_gb en-GB Fallback language (VmConfig::$defaultLang): en_gb Selected VM language (VmConfig::$vmlang): de_de de-DE SEF: de
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Studio 42

Do you have updated the virtuemart german language?

MKI-Miro


Studio 42

A solution can be to add overrides in admin and site. The problem is that the SUBJECT is get from front for payment notification but from admin language when you change statut yourself in the order.

Milbo

Any language report is also quite useless when people do not send the debug output showing which language got set. and yes, overrides should be created for the back and frontend.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Tentaurus

#7
Works well again with the latest language file!

Marttyn

I have the same problem, i receive ONLY THE SUBJECT of the VM emails in english.
It looks like my spanish admin language file has the COM_VIRTUEMART_MAIL_SUBJ_xxx translations missing, although the site translations are there. I guess i will have to copy them.
Maybe i updated the language file and i dont remember? Or maybe VM made same change on where the translation is retrieved?
Anyway, that fixed the problem...

Just wanted to know how can i contact the Spanish translator from transifex. Spanish language have many errors i would like to correct, but asked for permission to edit, and never replied.

Jörgen

@marttyn

Updating the language file on Your site is a bad idea, next update of the language pack will clear that. Use Joomla language tools and make overrides. This assures that Your corrections don´t disappear if the VM core language pack lacks the updated strings. And be sure to add the language overrides in the back end language and tick the box, use in both FE and BE.

regards
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Marttyn

Yes, dont worry, i did add the strings to the override file :)
Still want to know how to enter the trasifex spanish translation team

jjk

Quote from: Marttyn on November 15, 2018, 13:51:23 PM
Still want to know how to enter the trasifex spanish translation team

This 'how to' link in the forum is still valid: http://forum.virtuemart.net/index.php?topic=98187.0
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Marttyn

Thanks, ive already did all that. But my corrections are never reviewed. I would like to be part of the Spanish team so i can fix some of this problems.
Ive added a message in the link you just gave me.
Regards!

jjk

Quote from: Marttyn on November 17, 2018, 17:13:08 PM
Thanks, ive already did all that. But my corrections are never reviewed. I would like to be part of the Spanish team so i can fix some of this problems.
Ive added a message in the link you just gave me.
Regards!

As far as I can see on Transifex, your translations are included in the downloadable language files on Transifex and the generated language packs available from http://virtuemart.net/community/translations. If strings are marked as 'reviewed', translators can't change them anymore. But it's not a requirement to be included in the generated language packs available for download. 
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Marttyn

Ive noticed that the language files now are in the extension folder instead of the language folder.
Whats the order of preference in the language files?

Can i delete the language files from the language folder and keep the ones on the extension folder? Because the language folder have "old" files, while the extension folder have the new ones.
For example, the strings for order confirmation we are talking in this thread, used to be included in the xx_XX.com_virtuemart.ini and now are in the xx_XX.com_virtuemart_orders.ini. But having the old and the new files may interfere and that why sometimes the wrong language translation is shown  :o