News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

English strings in customer mail

Started by sandomatyas, November 04, 2017, 09:35:41 AM

Previous topic - Next topic

sandomatyas

I updated all of my extensions and the problem is still there, so I tried to debug a bit and found static public function loadOrderLanguages($language = 0) in shopFunctionsF helper
When I switch $cache = true to $cache = false everything works fine. So maybe there are something around language caching ?

jjk

Should be fixed meanwhile, maybe since VM 3.2.8. I don't see that problem anymore since that version was running on my website. Current public version is 3.2.12.
http://dev.virtuemart.net/projects/virtuemart/repository/changes/branches/com_virtuemart.3.0.12.4/components/com_virtuemart/helpers/shopfunctionsf.php
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

sandomatyas


Studio 42

JJK, Joomla changed the way language is loaded since 3.8 i think.
Now it always load 2 languages Current language+Default language, i explained this in another answer.
Problem is that when you debug Joomla language, only Current language is loaded, so when you activate lang DEBUG in Joomla all works perfectly.
I'm pretty sure the problems is from here. Because if you have some missing string, this are set from english.
So the english and current language need to have 100% same KEYs else it not work anymore as in Joomla 3.7 and before.
I don't have do many test, but have same problems with my own extentions., it's not specific to Virtuemart .

jjk

#19
Did you try to enable 'No Fallback' in the VM Configuration > 'Language  Settings' already? (In my case I don't have mixed language strings in the order emails. Mine is set to disabled)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations