Author Topic: Hungarian language not honoring language overrides (doesn't seem to have any)  (Read 102 times)

maestroc

  • Beginner
  • *
  • Posts: 8
I have a site set up as a catalog (no purchases) to show the songs written by a deceased composer.  On the English side I have created language overrides for all of the places that VM uses the word Product and other words that don't fit with a music site.  However, when I go to visit the Hungarian side of the site the titles all use the Hungarian language but certain language constants like Products show up in English as shown on pages such as this one:

Hungarian version:
https://www.kamillolendvay.hu/hu/demo-hu/works-for-cimbalom.html

English version:
https://www.kamillolendvay.hu/compositions-vm/works-for-cimbalom.html

You will also notice that the constant on the Hungarian version says "Leave the search box empty to find all products, or enter a search term to find a specific product." where if you switch to the English version and view the same page you will see it written as "Leave the search box empty to find all songs, or enter a search term to find a specific song."

While I would like to have the Hungarian language used for all of the constants if it has to fall back to English that is fine as long as it honors the overrides that I already have in place on the English side. 

If I go to the language overrides, switch to Hungarian-site and search for the word Products nothing comes up so I can't change it. 

Any idea what I can do to fix this?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3376
  • using Matomo instead of Google Analytics
The locations of the original language strings are:
English - Around line 586 in the file your-root-folder\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.ini:
COM_VM_SEARCH_DESC="Leave the search box empty to find all products, or enter a search term to find a specific product."

Hungarian - your-root-folder\language\hu-HU\hu-HU.com_virtuemart.ini
COM_VM_SEARCH_DESC="Hagyja üresen a keresés mezot ha az összes terméket szeretné látni vagy írja be a keresett kifejezést ha egy speciális terméket keres."

The other language key/string you need to add in the Hungarian site language override is:
English:
COM_VIRTUEMART_PRODUCT_DETAILS="Product details"

Hungarian original:
COM_VIRTUEMART_PRODUCT_DETAILS="Termék részletes adatai"
Override:
COM_VIRTUEMART_PRODUCT_DETAILS="Összetétel részletei"

When creating a language override in Joomla, you can also search for the key (the left part in capital letters), labeled 'Constant'  in the drop down selection in the 'Languages: Overrides' view.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations