Or if it doesn't do it out of the box then perhaps it's fairly easy to incorporate Google Translate? Has anyone done this before? I have a client that is looking for this functionality. Thanks!
Announcement
Collapse
No announcement yet.
Can Miva 9 handle multiple languages?
Collapse
X
-
You can do it natively if you like by adding the translations to the page templates but it can be quite a bit of work. We do that here: https://www.themountieshop.ca/
Another good option is a service called Global Nimbus. It can automatically do the translations for you:
http://apps.miva.com/website-transla...imization.html
-
Hi Brennan.
I'm assuming you handled the language toggle within the template code with conditionals? I'd be interested to know because we always have a need for bilingual stores and up until now I've always just used 2 stores running parallel (English and French versions). Is there any documentation as to how to do this?
Thanks.
Tony Pavao
BrandAlliance
Comment
-
Google Translate is a good tool as well. Its implementation is done by adding some JavaScript to the site, typically in the global footer.
https://translate.google.com/manager/website/
The native way involves setting basket custom fields (or cookies) and then adding conditional statements to the site.
For example:
Pass a parameter to let the customer choose a language:
http://www.domain.com/?lang=en
http://www.domain.com/?lang=fr
Then in the html profile tag (just because it gets run first) you would have code like this to set the language:
Code:<mvt:if expr="g.lang EQ 'en'"> <mvt:item name="customfields" param="Write_Basket( 'language', 'english' )" /> <mvt:elseif expr="g.lang EQ 'fr'"> <mvt:item name="customfields" param="Write_Basket( 'language', 'french' )" /> </mvt:if> <mvt:comment>Read Custom Basket Field, Set Global Variable, english is default if no language set</mvt:comment> <mvt:item name="customfields" param="Read_Basket( 'language', g.language )" /> <mvt:if expr="ISNULL g.language"> <mvt:assign name="g.language" value="'english'" /> </mvt:if>
Code:<mvt:if expr="g.language EQ 'english'"> Buy Now! <mvt:elseif expr="g.language EQ 'french'"> Achetez maintenant! </mvt:if>
Last edited by Brennan; 02-04-16, 09:29 AM.
Comment
Comment