VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: john-doe on September 04, 2013, 15:51:55 PM

Title: Multilingual Shop - Not saving alternate language
Post by: john-doe on September 04, 2013, 15:51:55 PM
Greetings.

I just updated to Virtuemart 2.0.22.c.

I was trying to create a category and adding its correspondent transtation. However i try to add the string and the change is reflected on the default language but no in the secondary language.

I would like to know what is causing this problem

Thanks in advance.,
Title: Re: Multilingual Shop - Not saving alternate language
Post by: Maxim Pishnyak on September 04, 2013, 22:02:48 PM
Did you check and follow multilingual tutorial provided by virtuemart.net Documents?
Title: Re: Multilingual Shop - Not saving alternate language
Post by: john-doe on September 05, 2013, 13:39:03 PM
Quote from: Maxim Pishnyak on September 04, 2013, 22:02:48 PM
Did you check and follow multilingual tutorial provided by virtuemart.net Documents?
Yes, and the multilingual was working properly. I updated virtuemart and now doesnt run correctly. In order to cover the problem i had to fill the blanks by hand directly on the database.

EDIT: To add some more i switch language to see if it is the problem. I saved previously as spanish, i saved the english side and the category now is written in spanish in both languages.
Title: Re: Multilingual Shop - Not saving alternate language
Post by: john-doe on September 05, 2013, 16:57:45 PM
It has something that I've been using CSVI to import massively products?
Title: Re: Multilingual Shop - Not saving alternate language
Post by: kcirman on September 15, 2013, 23:28:47 PM
I have same problem. Everything was fine before I updated Virtuemart to version 2.0.22.c  But now I'm not able save new or modified product description or anything else in different language except the default(en_gb). All texts are saved to default language tables regardless of which language is selected.
Here is debug output after I tried save vendor information in Czech language:

        vmdebug self::$_jpConfig->lang en_gb
        vmdebug vmTime: loadConfig db no: 0.0023469924926758
        vmdebug Start used Ram 6M
        vmdebug vendor recognised 1
        vmdebug no multivendor, set virtuemart_vendor_id = 1
        vmdebug vmTime: VirtueMartControllerUser Finished task user: 0.094687938690186
        vmdebug End used Ram 9.25M
        vmdebug Peak memory peak 9.25M
        vmdebug self::$_jpConfig->lang en_gb
        vmdebug vmTime: loadConfig db no: 0.0068418979644775
        vmdebug Start used Ram 6M
        vmdebug user model, single vendor Var1:
        1
        vmdebug vmTime: VirtueMartControllerUser Finished task user: 0.2231650352478
        vmdebug End used Ram 13.5M
        vmdebug Peak memory peak 13.5M

As you can see en_gb language was used instead of cs_cz which was selected.
The only way to save anything in cs_cz language for me is disable en_gb language, but this is little annoying :-\.
Any suggestion?
Title: Re: Multilingual Shop - Not saving alternate language
Post by: jenkinhill on September 16, 2013, 00:01:06 AM
Language security  issue was fixed in 2.0.22d