News:

Support the VirtueMart project and become a member

Main Menu

change english to german

Started by ntggl19, October 04, 2012, 11:01:51 AM

Previous topic - Next topic

ntggl19

in my site i want to change english to german on virtuemart, i have install german but when i change it in the front page i have shopping cart and when i change it it change to german, but when i go in my category eshop  where i have the products all the  category is gone, what other changes did i have to do to change the english to german....
thank you

jjk

Not shure if I understand your language switching problem correctly. (You may ask in German language if it is easier for you to describe the problem)
Some english language instructions on how to set up VM2 for multilanguage are available here:
http://forum.virtuemart.net/index.php?topic=104901.0
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jinxed

Hi, I have the same problem. I have installed official joomla 2.5 Croatian language pack from here:
http://joomlacode.org/gf/project/jtranslation1_6/frs/?action=FrsReleaseBrowse&frs_package_id=5825

Than I have changed default site language in administration to Croatian. At that point, all categories from "VirtueMart Categories Layout" that I had displayed on the front-page until now have disappeared. When I switch back to English, all categories are listed again.

So I thought it's because I'm still missing virtuemart Croatian language file. I went and downloaded it from here:
http://gruz.org.ua/virtuemart-language-files.html

After installation, still nothing. Is it some mistake in the core joomla croatian language file, or have I messed something up?

Ok, I have also noticed this in my virtuemart admin right now:
vmError: exeSortSearchListQuery Table 'bacohr_baza.xyk1e_virtuemart_categories_hr_hr' doesn't exist SQL=SELECT c.`virtuemart_category_id`, l.`category_description`, l.`category_name`, c.`ordering`, c.`published`, cx.`category_child_id`, cx.`category_parent_id`, c.`shared` FROM `xyk1e_virtuemart_categories_hr_hr` l JOIN `xyk1e_virtuemart_categories` AS c using (`virtuemart_category_id`) LEFT JOIN `xyk1e_virtuemart_category_categories` AS cx ON l.`virtuemart_category_id` = cx.`category_child_id` WHERE cx.`category_parent_id` = 0 ORDER BY category_name DESC

I have been filling filling in products while working with english as default language, don't tell me I'll have to mess with database to switch all products to croatian or something.

djhousecat

I got the same database-error as I changed the default language to german.

I renamed all tables in the database from "_en_GB" to "_de_de"
It seems to work. I don't know what will happen if I have to update VirtueMart one day...


Isn't there a better solution for this problem?

jjk

#4
The source of your problems problably was that you didn't set your Joomla site language to your primary language before installing VM2. When you install VM2 i.e. on a bilingual Joomla site, it picks the site (frontend) default language as the primary language. If your site language was set to English at the time of installing VM2, you problably have started to enter i.e. german content into english database tables.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

djhousecat

Wouldn't it be better if VirtueMart created new Tables in this case? This would avoid the problem.