VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: giofranz on October 23, 2018, 11:45:37 AM

Title: Can't translate VM by any mean
Post by: giofranz on October 23, 2018, 11:45:37 AM
Hi guys, i'm using VM 3.4.2 on Joomla 3.8.13

I 've installed italian package for VM and plugins, I've switched the language of Joomla and all products disappeared.

I come to understand it's my mistake. VM works like that, now I should make all product again. Is there a way to bulk it, a smart way? If not, fine.

But, is there a way to force the translation? I tried to override the content of /language/en-GB with the italian translation. Nothing happens. I also tried manually, looking for "add to cart" in any .ini file in the same folder. I change it with "xxx" and got the same result. VM stays in english.

I'm obviously missing something. I'm new to VM, and I'm trying to work my way as quick as possible because I'm running out of time XD

Thank you!
Title: Re: Can't translate VM by any mean
Post by: giofranz on October 23, 2018, 12:08:41 PM
Found it! I was overriding the files in mydomain.it/language/en-GB. But then i tried with files in mydomain.it/components/com_virtuemart/language/en-GB.

Not sure if it's correct but it works fine!
The xml. file from the italian package point to /language folder under root. Also files in the package are many more, (almost as many as the files in /language folder under root, definitely more than file in the /language folder under /components).
I'm still missing something here. Never the less the "home-made" transaltion works! Case you are running short.
Title: Re: Can't translate VM by any mean
Post by: GJC Web Design on October 23, 2018, 12:49:45 PM
have u correctly configured Italian as the default in Joomla and in VM?
Title: Re: Can't translate VM by any mean
Post by: Studio 42 on October 23, 2018, 17:11:25 PM
For products you can use https://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm to copy from one language to another, or you can import translations too.
Title: Re: Can't translate VM by any mean
Post by: giofranz on October 24, 2018, 11:21:07 AM
Hi guys, thanks for the help!

@GJC Web Design I think language is correctly configured. See the attachment.

@ Studio 42 Nice tool, i will take it into consideration for future projects. Thanks for the suggestion.
Title: Re: Can't translate VM by any mean
Post by: GJC Web Design on October 24, 2018, 12:13:13 PM
and IT chosen in VM  etc ?

I set up a single non En lang VM so

But if u have already set up all your products in en-GB then simply copy the VM DB tables ending in en_gb to their equivalents in it_it

e.g #__virtuemart_products_en_gb to #__virtuemart_products_it_it  etc
Title: Re: Can't translate VM by any mean
Post by: giofranz on October 25, 2018, 17:53:27 PM
Yes, in VM i chose the lang from global config. Anyway i forgot to mention, i also had copy all the translation in ( administrator/components/com_virtuemart/language/en-GB ).
I also thought at tables but I'm not really use to it, so i prefer not messing around with that.

Everything seems to work fine right now! Thank you very much the help!