VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: EvanGR on October 26, 2018, 09:39:27 AM

Title: Language overrides do not work?
Post by: EvanGR on October 26, 2018, 09:39:27 AM
I am trying to override some language strings in the el-GR.override.ini file.

However the overrides are not picked up, and the strings in the main el-GR.com_virtuemart.ini are being used.
Changing the strings in that file produces the expected result.

Is this a bug?

VM 3.2.15/Joomla 3.8.10

Thanks
Title: Re: Language overrides do not work?
Post by: GJC Web Design on October 26, 2018, 09:54:04 AM
I always have trouble with this .. try to do the over rides ( Joomla interface) in the admin langs and chk : use in both
Title: Re: Language overrides do not work?
Post by: EvanGR on October 26, 2018, 10:18:50 AM
Giving an example of overrides that do not work:

COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_N

These involve the e-mails (subjects) that are sent to the shoppers on order status change.

The language strings for those are not in the administrator directory. They are in the user language files.
Title: Re: Language overrides do not work?
Post by: GJC Web Design on October 26, 2018, 12:12:25 PM
these ones I know .. they work if u use the joomla lang over ride system . admin . use for both
Title: Re: Language overrides do not work?
Post by: EvanGR on October 29, 2018, 09:03:42 AM
Is this a Joomla or VM bug?
Title: Re: Language overrides do not work?
Post by: GJC Web Design on October 29, 2018, 10:49:38 AM
Its not a bug -- it is the way Joomla lang works - and how VM is accessing the lang vars from FE and Admin