Author Topic: Cart popup only taking text from default language  (Read 112 times)

six gun

  • Beginner
  • *
  • Posts: 28
  • Why is coding so difficult sometimes?
    • C60 in olive oil
Cart popup only taking text from default language
« on: April 01, 2018, 20:41:44 pm »
i have a Joomla! 3.8.6 site with VirtueMart 3.2.12
The site template is a Virtual Planet Smart.

i have several languages on the site. I do not have the language selector published as i have not finished translation but can switch between languages by changing the url
The site translates ok in the main.

i find when i click the add to cart tab the popup appears.
When the site is in say German i get this


The untranslated text in the case of 'Continue Shopping' is coming from COM_VIRTUEMART_CONTINUE_SHOPPING="Continue Shopping" in en-GB.com_virtuemart.ini in the language folder of components/com_virtuemart
If i alter this text in this file the text on the popup changes, say to 'Continue Shoppingxx'  .
The other language files are there but the site is not accessing these files for the popup.

i have looked through various forums and threads but i find no solution.
Any advice

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1401
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Cart popup only taking text from default language
« Reply #1 on: April 03, 2018, 09:24:08 am »
Is the key found COM_VIRTUEMART_CART_PRODUCT_ADDED in Your language file ? Have You tried adding the key COM_VIRTUEMART_CART_PRODUCT_ADDED  as replacement text for BOTH front end and backend with Joomla language manager? This goes for the other two keys as well.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)