VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: Fallen28 on October 21, 2022, 21:05:54 PM

Title: please explain this procedure
Post by: Fallen28 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?
Title: Re: please explain this procedure
Post by: Fallen28 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]

Title: Re: please explain this procedure
Post by: 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?
Title: Re: please explain this procedure
Post by: Fallen28 on October 21, 2022, 23:10:35 PM
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
Title: Re: please explain this procedure
Post by: GJC Web Design 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