VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: Jose M. on May 24, 2017, 20:36:55 PM

Title: Right path to put language files
Post by: Jose M. on May 24, 2017, 20:36:55 PM
hi!
I have Spanish language files in the folder  my-joomla-root-folder\administrator\language\es-ES
Everything seems fine, but when entering in VM settings, do not translate the strings. I had to create the file
my-joomla-root-folder\administrator\components\com_virtuemart\language\es-ES\es-ES.com_virtuemart_config.ini

What is the right path to put language files?

Thanks
Jose

Title: Re: Right path to put language files
Post by: jjk on May 25, 2017, 21:44:23 PM
Both paths should work. But when you install/update the Spanish language language packs from http://virtuemart.net/community/translations, the files will be installed into the Joomla language folders. This is due to the limitation of Transifex/ctransifex not being able to generate xml files which place the ini files into a component folder.
You could disable the es-ES.com_virtuemart_config.ini in the component folder and use Joomla's 'Debug language' in order to locate errors which might prevent the file from being loaded in it's normal place.
Title: Re: Right path to put language files
Post by: Jose M. on May 26, 2017, 10:08:19 AM
Thanks!

Jose