VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: arnask on December 30, 2011, 15:18:46 PM

Title: Language is switching in a middle of checkout process
Post by: arnask on December 30, 2011, 15:18:46 PM
Hi,

i use Lithuanian language for site and VM. My shop require registration for buying. When, in a middle of checkout process user registers, he is redirected to English version. How to solve this?

Arnas
Title: Re: Language is switching in a middle of checkout process
Post by: jjk on December 30, 2011, 17:59:26 PM
Might be an incomplete Lithuanian translation. Where did you download the VM2 Lithuanian language files?
Title: Re: Language is switching in a middle of checkout process
Post by: arnask on December 30, 2011, 18:06:33 PM
translatet myself, but yes, they are not full. Is there a problem?
Title: Re: Language is switching in a middle of checkout process
Post by: jjk on December 30, 2011, 18:45:14 PM
If you have i.e. English and Lithuanian language files installed for Joomla and VM2, as far as I know, Joomla falls back to english if it doesn't find an Lithuanian language file for the view. So you should translate at least all VM2 frontend files. See here: http://forum.virtuemart.net/index.php?topic=89336.0 (http://forum.virtuemart.net/index.php?topic=89336.0)
The same might happen, if you have illegal characters in your translation. If you go to your Joomla configuration and switch on 'Debug System' and 'Debug Language', it will display the wrong lines near the bottom of the page.
Title: Re: Language is switching in a middle of checkout process
Post by: arnask on January 04, 2012, 09:04:11 AM
didn't solved it yet. Is there a possibility to add Language selection in Shopper fields?
When users registers using joomla's registration form he can select desired frontend language, but when registration is handled by VM he can't.
My site requires registration before checkout, and i need that user can choose his language for registration. Hopefuly this can solve "going back to English in a middle of registration" problem.

P.S. English is a default language.