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

Problem with language file upgrade

Started by vis18neu, November 30, 2017, 16:34:09 PM

Previous topic - Next topic

vis18neu

We regularly update VM language files with every new VM release but we realized that language strings and changes are not showing for quite some time now.

Trying to find out the cause of this problem, we attempted to create an override and searched for a string. The same string appears twice, one is located in administrator/language/... folder, and other in administrator/components/com_virtuemart/language/... folder. As this is a store that has been migrated from much older Joomla and VM versions over the years, it might be that these are old and new language files (one in com_virtuemart is dated 2014).

Is it safe to delete non-english folder in administrator/components/com_virtuemart/language/... (we can see that new VM stores have no non-english language folder in that location although we are using multilingual settings)? Thanks.

Jörgen

Hello

It should be safe, rename the directory and test. If it works after cleaning cache etc You are on the right track. Otherwise easy to restore. I usually make an ovveride via the Joomla language manager. Maybe a slower solution, but I find it easier to maintain the Language overides. This way it doesn´t matter which file is used.

regards

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

vis18neu

Thank you for your reply. We also create overrides but in this case the entire language folder is in question, so it seems much easier to correct the language path and use the overrides when necessary. Your suggestion worked, language is ok and updated.

jjk

Just for your information - Old Joomla versions required the language files of the extensions to be in the Joomla language folders. But since a few years the preferred location of the extension language files are language subfolders of the 'components' and 'plugin' folders to which all VirtueMart en-GB language files were moved a few years ago. Translations of the VM language files are still placed in the Joomla language folders, because the ctransifex extension we use to generate the language packs from transifex.com doesn't have the capability to place the translations into the 'components' and 'plugin' folders, too.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

vis18neu

Thank you, I've concluded that same thing and decided to rename / disable old language folders in both administrator/components and components folder in all VM stores we maintain.