Author Topic: Language overrides do not work?  (Read 510 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 144
Language overrides do not work?
« 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8433
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Language overrides do not work?
« Reply #1 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

EvanGR

  • Jr. Member
  • **
  • Posts: 144
Re: Language overrides do not work?
« Reply #2 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.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8433
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Language overrides do not work?
« Reply #3 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

EvanGR

  • Jr. Member
  • **
  • Posts: 144
Re: Language overrides do not work?
« Reply #4 on: October 29, 2018, 09:03:42 am »
Is this a Joomla or VM bug?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8433
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Language overrides do not work?
« Reply #5 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation