VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: veeco on January 08, 2013, 05:41:53 AM

Title: Installed new language after setup
Post by: veeco on January 08, 2013, 05:41:53 AM
Hello,
i setup a store and then i install new language and make it default... suddenly my store broker, i believe it related with the name of the table... then i duplicate all table with _en_gb to code with installed language...

is this enough ? or is there anything else i should change ?

Thanks
Title: Re: Installed new language after setup
Post by: jjk on January 08, 2013, 21:35:09 PM
Sounds to me like you started to enter your language product descriptions into the standard en-GB VM2 database tables and then added the your language pack (make shure you have both, the Joomla and the VM2 language pack in your language).  Therefore, after you added your language, you probably have en-GB database tables with your language content and empty language database tables in your language, so your products don't show in your language.

An easy solution in this case should be to use phpMyadmin and export your xxx_virtuemart_xxx.en_gb tables, then rename those en_gb tables with the en-gb suffix to xx_xx (xx = your language tag). Afterwards open the files with an editor (i.e. Notepad or Notepad++) and use 'search and replace' to exchange all en-gb with xx-xx. Save the file(s) and import them again. Make sure your frontend language is set to your language in Joomla.

If you want to build a multilingual shop, you also have to select your languages in VirtueMart Configuration - Language Settings.