VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: Jens Pedersen on January 24, 2014, 12:10:20 PM

Title: Copies a product from one language to another
Post by: Jens Pedersen on January 24, 2014, 12:10:20 PM
I have created a web store with Danish language. I created categories and products in Danish.
Now I also want to offer my shop in English, I have made all the settings in Joomla and virtuemart.
My product categories are automatically translated into English.
But there are not any products in the English language categories, they only exist in the Danish.
My question is. Can i copy a Danish product tothe English part?
And how to do?
I can translate the product when they are copied over to the English language. but all information like price, post settings, image is there...
Thank you all...
Title: Re: Copies a product from one language to another
Post by: jjk on January 30, 2014, 18:44:11 PM
Did the instructions how to export/import the database tables in my first reply to you a few days ago not work for you?
Title: Re: Copies a product from one language to another
Post by: erasme65 on January 31, 2014, 16:43:35 PM
To publish my french products in english I've exported the table xxx_virtuemart_products_fr_fr in an sql file.
Then I've edited the file to change the name 'xxx_virtuemart_products_fr_fr' to 'xxx_virtuemart_products_en_gb'.
And imported my sql file into the xxx_virtuemart_products_en_gb table.

It's ok. Just take care of empty the destination table before import...
Title: Re: Copies a product from one language to another
Post by: jjk on January 31, 2014, 17:19:37 PM
Quote from: erasme65 on January 31, 2014, 16:43:35 PM
It's ok. Just take care of empty the destination table before import...
If you are using phpMyAdmin, you can alternatively enable 'Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT' when you export a table. In this case the old table is replaced by the new one upon import.