Inconsistent search results between Arabic and English queries

ecs
LiteCart Fan
De Morocco
Membro desde out 2024
ecs

Hello guys!

In my Website Search Results, under Arabic language, (If the product searched for doesn't exist in Catalog) I get this message instead of the query name:
__ 
"نتائج البحث عن & quot ؛ ٪ s & quot ؛" 
لا توجد نتائج مطابقة


but not when I change site language to English, instead I get this:


"Search Results for "laptop"
No matching results


It's no big deal but it would be much better if it's fixed
any suggestions?
Thank you everyone!

ecs
LiteCart Fan
De Morocco
Membro desde out 2024
ecs

I understand that there are Arabic translation files available in the Addons section, (including the one submitted by Mr Ali Elkhedr which I am using, thank you Ali!) and I know that they're still under development. 
As a response to your question @tim: No, Saudi Arabia and / or Egypt are enough for most Arabic Countries, at least from my point of view as a Moroccan.
As a response to your recommendation @alielkhedr: it was the one I've uploaded and made a small change in System Locale: en_US.utf8 instead of : ar_eg.utf8,ar_EG.UTF-8,arabic because it keeps showing error.
My question is: Can I simply replace the ٪ character with % as suggested by you? If so, where should I make this change?

Thank you for your help!

Developer
De Egypt
Membro desde mai 2022

Yes, with the utmost translation, search for the mark ٪, then repair the matter and adjust this "Ar_eg.utf8, ar_eg.utf-8, Arabic "
When the Aribert response corresponds to it, it is great

ecs
LiteCart Fan
De Morocco
Membro desde out 2024
ecs

Dear Ali! I searched and changed the mark as you can see "نتائج البحث عن & quot ؛ [b]%[/b] s & quot ؛" as a translation for "title_search_results_for_s" but when I tried to adjust the "en_US.utf8" with the one you suggested I get this error message "Ar_eg.utf8, ar_eg.utf-8, Arabic ليست لغة نظام صالحة على هذا الجهاز".

So with that [b]%[/b] change alone, the result is:
نتائج البحث عن & quot ؛ laptop & quot ؛
لا توجد نتائج مطابقة

The issue seems to be related to the way Arabic search terms are handled and displayed in search results. Specifically, the Arabic quote marks (& quot ؛) are appearing unexpectedly when searching for products that don't exist.

ecs
LiteCart Fan
De Morocco
Membro desde out 2024
ecs

Dear Ali,

Thank you for your guidance! I was able to resolve the issue.

I went to the "translations" section, searched for "title_search_results_for_s," and copied the phrase "[b]"%s&quot[/b]" from the English translation. I then pasted it into the Arabic translation box just after the words "نتائج البحث عن".

This fixed the problem and now the search results are displayed correctly in Arabic.

Thank you again for your help!

Tu
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.