News:

Support the VirtueMart project and become a member

Main Menu

Troubles with existing / new content (products, cats, etc..) translation

Started by gallego.d, September 25, 2020, 18:13:07 PM

Previous topic - Next topic

gallego.d

Hi, since the last VM update (currently on J 3.9.20  VM 3.8.4) we're seeing some strange behaviour regarding the translations, we have a multilang shop, 2 languages, spanish and en_us, we try to access any product, category, module of products.. anything, all in english, when trying to get the locale joomla says is es-ES but virtuemart (echoing product from productdetails view) indicates that is getting the info from the table [_tbl_lang:protected] => #__virtuemart_products_en_us, which should be [_tbl_lang:protected] => #__virtuemart_products_es_es that exists in our database, and is accessible throught administrator (since we are able to see both versions of any product, es_ES and en_US)

you can see it 'live' on https://underedclothing.com/es/active-wear/copacabana-short-undered-6
which according to url should be spanish but all texts are in english(US)

We would greatly appreciate any info to troubleshoot this issue

Many thanks!

diri

? Clear caches of your browser, might be of help:

Quote:
Bermuda de surf con cierre de Velcro y cordones personalizados, bolsillo trastero con cierre de botón y arandela personalizada

Nuestro COPACABANA SHORT es una Bermuda de surf clásica con color degradado , su tejido es suave y confortable, ligero y de secado rápido, resistente al cloro a la sal y al sol, sus colores permanecen brillantes después de los lavados si se siguen las instrucciones anteriormente mencionadas.
/Quote

cu, diri

gallego.d

Quote from: diri on September 26, 2020, 08:40:07 AM
? Clear caches of your browser, might be of help:

Quote:
Bermuda de surf con cierre de Velcro y cordones personalizados, bolsillo trastero con cierre de botón y arandela personalizada

Nuestro COPACABANA SHORT es una Bermuda de surf clásica con color degradado , su tejido es suave y confortable, ligero y de secado rápido, resistente al cloro a la sal y al sol, sus colores permanecen brillantes después de los lavados si se siguen las instrucciones anteriormente mencionadas.
/Quote

cu, diri

Hi diri, thanks for the info,

I see the description is in spanish now but the add to cart, and other texts that should be also in spanish, are not,
also the category view does not change between langs, is always english for now... I've been checking browser cache (diff browsers, devices, private windows), server cache, joomla cache, all disabled, removed, cleaned, but none helped so far...

jjk

There are several things you can check. First, we don't have en_US language files for VirtueMart, By default, VirtueMart is provided with en_GB language files. All other translations, including Spanish are provided and maintained by volunteers. Unfortunately American VM users are too lazy to invest time to keep language files adapted for American English up to date. Most of them seem to be happy with using the en_GB files plus maybe some language overrides.

If you did configure Joomla with en_US, VirtueMart probably doesn't find any corresponding en_US language files.

You can enable the 'Debug Language' tool in Joomla configuration, to find out which language files are loaded when you look at your VM category and product pages.

Another check you can do is to go to 'Extensions' - 'Module Manager' - switch from 'site' to 'administrator' in the filter dropdown list and publish 'Multilingual Status'. Thereafter you can click on 'Multilanguage Status' in the status bar. If everything is green on the status page, your Joomla multilanguage setup should be correct and you can unpublish the 'Multilingual Status' module again. If something is red, you should solve that problem first.

In my own bilingual VM shop I'm using the provided en_GB language files and have the Joomla system language code plugin set to 'en' only (without 'US'). And I don't use the hreflang tag either. That way you can avoid that Google filters search results for the potential customers geo-location. In your case, Google might not list your site if somebody from the UK is searching for bermuda shorts.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

gallego.d

Hi, just wanted to add a link here,
we found some similar behaviour (albeit in a newer version) which has an easy fix (for our case at least),

the new topic is

http://forum.virtuemart.net/index.php?topic=147627.msg526318#msg526318