VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: tgw on December 12, 2019, 17:05:55 PM

Title: Change text on search button
Post by: tgw on December 12, 2019, 17:05:55 PM
Hi,
where can I change the two texts at the search button?

The second line is English, although the configuration is in German.

Title: Re: Change text on search button
Post by: jjk on December 12, 2019, 20:35:28 PM
The message is translated in the German language files. Perhaps first check if installing the latest version of the German language files from here: http://virtuemart.net/community/translations solves your problem.
Additional checks:
- Do you have a VM search module published, which has German as the selected language?
- Enable Joomla 'Debug Language' in order to find out if the file your-root-folder\language\de-DE\de-DE.com_virtuemart.ini is loaded and if you have any parsing errors. (The German translation of that text is in line 593)
Title: Re: Change text on search button
Post by: tgw on December 13, 2019, 17:02:50 PM
Hi jjk,
I now have actual languagefiles installed. Same as before. I have found the first text at line 406 instead of 591. Tht's working well.

With debug I get no errors.

So the only thing, I have to change is the content "Leave the search box empty to find all products, or enter a search term to find a specific product.".
I cannot find it in any languagefile. Can you help?
Title: Re: Change text on search button
Post by: jjk on December 13, 2019, 17:34:33 PM
Line 404: COM_VIRTUEMART_SEARCH="Suche im Shop"
In the same German language file you should have
Line 593: COM_VM_SEARCH_DESC="Lassen Sie das Suchfeld leer um alle Produkte zu finden, oder geben Sie einen Suchbegriff ein, um ein bestimmtes Produkt zu finden."

If you have the above line 593 and it doesn't show up below the "Suche im Shop" button, what do you have in line 591?
Title: Re: Change text on search button
Post by: tgw on December 13, 2019, 18:40:53 PM
Hi jjk,
I just downloaded the languagepack again und uploaded it manually into the language directory.
Now I can find translations at line 406 and 591, There was noch COM_VM_SERACH_DESC before.

Everything works now.

Thx! :-) Have a nice weekend.