Search products API

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Search products API

Post by traiyani75 » 18 Aug 2020, 05:24

Hello,
We have products with two language, arabic and english. We are using Rest APIs on mobile side. Now how do we search product from both the languages. Currently we are able to search english text when we pass locale=en and arabic text when we passed locale=ar. How do we make this search into both the language without checking locale parameter.

Thanks & Regards

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Search products API

Post by aimeos » 19 Aug 2020, 07:28

There's no way to search for all texts regardless of the language because usually it makes no sense.
But you can set the language of all English texts to "All" so they are also used if you pass "ar" as language.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: Search products API

Post by traiyani75 » 28 Aug 2020, 10:39

Yes, but we cant set all for both language, else on application side we will not able to detect text language. We need this filtering on both side either arabic or english.

Post Reply