[Skip to main content](#vessel-content)

#   Missing Language Strings on Search Error Page

##

- **[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")**
- [![nyanginator's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50337-nyanginator "View nyanginator's Profile") Topic Author
- [ Offline](/forum/user/50337-nyanginator)

Less More

- Posts: 31
- Thank you received: 1
-
-

7 years 10 months ago [\#302174](#302174) by [nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")  *[Missing Language Strings on Search Error Page](/forum/3-bug-report/896582-missing-language-strings-on-search-error-page#302174 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Firefox 64.0  If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say &quot;Brands&quot; and &quot;Products&quot; instead show as MANUFACTURERS&#95;SEARCH and PRODUCTS&#95;SEARCH. See attached screenshot.")* was created by *[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.2.10
-- Browser(s) name and version -- : Firefox 64.0

If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say "Brands" and "Products" instead show as MANUFACTURERS_SEARCH and PRODUCTS_SEARCH. See attached screenshot.

- [ ![search&#95;strings.jpg](/forum/attachment/45725) ](/forum/attachment/45725 "...ch&#95;strings.jpg") [ ](/forum/attachment/45725?download=1 "...ch&#95;strings.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTY1ODItbWlzc2luZy1sYW5ndWFnZS1zdHJpbmdzLW9uLXNlYXJjaC1lcnJvci1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 10 months ago -  7 years 10 months ago [\#302211](#302211) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Missing Language Strings on Search Error Page](/forum/3-bug-report/896582-missing-language-strings-on-search-error-page#302211 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Firefox 64.0  If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say &quot;Brands&quot; and &quot;Products&quot; instead show as MANUFACTURERS&#95;SEARCH and PRODUCTS&#95;SEARCH. See attached screenshot.")*

Hello,

You can edit your language file in order to correct this, learn more thanks to [ **this tutorial**](https://www.hikashop.com/download/languages.html#content).

Just use the **language key** (MANUFACTURERS_SEARCH, PRODUCTS_SEARCH) in order to check the trad part.
Hope this will help you to corret your issue.

Regards

Last edit: 7 years 10 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTY1ODItbWlzc2luZy1sYW5ndWFnZS1zdHJpbmdzLW9uLXNlYXJjaC1lcnJvci1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")**
- [![nyanginator's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50337-nyanginator "View nyanginator's Profile") Topic Author
- [ Offline](/forum/user/50337-nyanginator)

Less More

- Posts: 31
- Thank you received: 1
-
-

7 years 10 months ago [\#302243](#302243) by [nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")  Replied by *[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")* on topic *[Missing Language Strings on Search Error Page](/forum/3-bug-report/896582-missing-language-strings-on-search-error-page#302243 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Firefox 64.0  If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say &quot;Brands&quot; and &quot;Products&quot; instead show as MANUFACTURERS&#95;SEARCH and PRODUCTS&#95;SEARCH. See attached screenshot.")*

Sorry, to be clearer, the language strings load fine if the search string has no error (i.e. search for a term greater than 3 characters). They shows as MANUFACTURERS_SEARCH and PRODUCTS_SEARCH when there is an error (i.e. search for a term less than 3 characters).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTY1ODItbWlzc2luZy1sYW5ndWFnZS1zdHJpbmdzLW9uLXNlYXJjaC1lcnJvci1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 10 months ago -  7 years 10 months ago [\#302261](#302261) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Missing Language Strings on Search Error Page](/forum/3-bug-report/896582-missing-language-strings-on-search-error-page#302261 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Firefox 64.0  If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say &quot;Brands&quot; and &quot;Products&quot; instead show as MANUFACTURERS&#95;SEARCH and PRODUCTS&#95;SEARCH. See attached screenshot.")*

Hello,

Then it's not the same discussion, can youi provide these elements :
- An **Url link** to see and process some tests by ourselve
- A **step by step** procedure to reproduce your issue
- Your **Filter configuration** screenshot
- Any details that can help us to quick get the root issue

Awaiting news from you
Regards

Last edit: 7 years 10 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTY1ODItbWlzc2luZy1sYW5ndWFnZS1zdHJpbmdzLW9uLXNlYXJjaC1lcnJvci1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")**
- [![nyanginator's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50337-nyanginator "View nyanginator's Profile") Topic Author
- [ Offline](/forum/user/50337-nyanginator)

Less More

- Posts: 31
- Thank you received: 1
-
-

7 years 10 months ago [\#302291](#302291) by [nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")  Replied by *[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")* on topic *[Missing Language Strings on Search Error Page](/forum/3-bug-report/896582-missing-language-strings-on-search-error-page#302291 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Firefox 64.0  If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say &quot;Brands&quot; and &quot;Products&quot; instead show as MANUFACTURERS&#95;SEARCH and PRODUCTS&#95;SEARCH. See attached screenshot.")*

Sure thing. I am able to reproduce this on the HikaShop demo site:

1. Go to the Joomla Search URL: [ demo.hikashop.com/index.php/en/?option=com\_search&amp;view=search](http://demo.hikashop.com/index.php/en/?option=com_search&view=search). The search area ("Search Only") names are initially correct here: Brands, Products, Vendors.
2. In the field up top where it says "Search Keyword", type "ad".
3. Hit Return or click the magnifying class button. The search area names now show: MANUFACTURERS\_SEARCH, PRODUCTS\_SEARCH, HIKA\_VENDORS.

Please note this is using the core Joomla Search, not the HikaShop Filter. As mentioned, if the search term is 3+ characters (i.e. "headphone"), then this problem does not appear.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTY1ODItbWlzc2luZy1sYW5ndWFnZS1zdHJpbmdzLW9uLXNlYXJjaC1lcnJvci1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

7 years 10 months ago [\#302325](#302325) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Missing Language Strings on Search Error Page](/forum/3-bug-report/896582-missing-language-strings-on-search-error-page#302325 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Firefox 64.0  If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say &quot;Brands&quot; and &quot;Products&quot; instead show as MANUFACTURERS&#95;SEARCH and PRODUCTS&#95;SEARCH. See attached screenshot.")*

Hi,

Please add the code: Code:

if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return array();

after the line: Code:

function &amp;onSearchAreas(){

in both the files plugins/search/hikashop_products/hikashop_products.php and plugins/search/hikashop_categories/hikashop_categories.php
That should fix the problem.
We'll add that patch on our end too.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTY1ODItbWlzc2luZy1sYW5ndWFnZS1zdHJpbmdzLW9uLXNlYXJjaC1lcnJvci1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")**
- [![nyanginator's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50337-nyanginator "View nyanginator's Profile") Topic Author
- [ Offline](/forum/user/50337-nyanginator)

Less More

- Posts: 31
- Thank you received: 1
-
-

7 years 10 months ago [\#302363](#302363) by [nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")  Replied by *[nyanginator](/forum/user/50337-nyanginator "View nyanginator's Profile")* on topic *[Missing Language Strings on Search Error Page](/forum/3-bug-report/896582-missing-language-strings-on-search-error-page#302363 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Firefox 64.0  If there is a search error (e.g. try searching for a a term less than 3 characters), the search area strings that should say &quot;Brands&quot; and &quot;Products&quot; instead show as MANUFACTURERS&#95;SEARCH and PRODUCTS&#95;SEARCH. See attached screenshot.")*

Thanks, it works.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTY1ODItbWlzc2luZy1sYW5ndWFnZS1zdHJpbmdzLW9uLXNlYXJjaC1lcnJvci1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
