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

please explain this procedure

Started by Fallen28, October 21, 2022, 21:05:54 PM

Previous topic - Next topic

Fallen28

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

#1
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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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

Quote from: GJC Web Design on October 21, 2022, 22:06:21 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

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
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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