Search products API
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Search products API
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
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
Re: Search products API
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.
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,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: Search products API
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.