Author Topic: please explain this procedure  (Read 931 times)

Fallen28

  • Beginner
  • *
  • Posts: 14
  • A beginner
please explain this procedure
« on: October 21, 2022, 21:05:54 pm »
i set up my store to be in hebrew, site is in hebrew as well, i want to translate virtuemart using the default en-GB.ini file that has all the strings to override the virtuemart component specifically and keep site language files seperate, where do i copy the file (en-GB.com_virtuemart.ini)? do i rename it? do i need to include it in the code?

Fallen28

  • Beginner
  • *
  • Posts: 14
  • A beginner
Re: please explain this procedure
« Reply #1 on: October 21, 2022, 21:54:35 pm »
ok, after messing around with language overrides in joomla, i manually added a string override and found out where it is located and how it works, for other clueless people who want to translate virtuemart from scratch, here's what you do: (cause instructions unclear - dick stuck in fan etc)

1.) install desired MAIN SITE language in joomla
(a folder gets created in languages folder on your ROOT JOOMLA
(for me it is he-IL), within it you have all the files for different sections of your site)
2.) go to components/com_virtuemart/languages/en-GB
3.) create a copy of en-GB.com_virtuemart.ini and rename it to xx-xx.override.ini
(with xx's being your language file, for me it was he-IL, so he-IL.override.ini)
and put in overrides folder
4.)change strings

the pinned thread was too vague for me, this should be more idiot proof for new people.
[edited for being an idiot myself, i promise i wasn't drunk]


GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10743
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: please explain this procedure
« Reply #2 on: October 21, 2022, 22:06:21 pm »
GJC Web Design
VirtueMart and Joomla Developers - php developers https://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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Fallen28

  • Beginner
  • *
  • Posts: 14
  • A beginner
Re: please explain this procedure
« Reply #3 on: October 21, 2022, 23:10:35 pm »
are the files here: https://virtuemart.net/community/translations/virtuemart/he-IL not adequate?
it's fine, i just want to have more control and edit it to my needs, i'll take a look to integrate some of it in the future, thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10743
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: please explain this procedure
« Reply #4 on: October 22, 2022, 14:46:34 pm »
then normally you would do it thru the normal Joomla language over rides ...  otherwise your changes are in danger of being over written on updates
GJC Web Design
VirtueMart and Joomla Developers - php developers https://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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation