We are developing a native mobile app version of our store using the storefront graphQl API.
Given:
So far everything is going well until we implemented the multilanguage feature and integrated it with our search feature. Individually the features worked flawlessly.
- Our store’s main language is English and the secondary is Arabic
- we are currently using the query argument in the products query root for our search feature stated here(Storefront API QueryRoot)
- We are using Translation Lab - AI Translate for our translation
Issue:
The products query root only works with the main language.
E.g. Cetaphil and سيتافيل is the same thing, using “Cetaphil” as the search keyword will return the correct product results, however, using “سيتافيل” as the search keyword does not return anything
Question:
We hope someone can point us in the right direction or documentation to solve our issue.
Perhaps a graphql API equivalent to this Shopify theme search documentation? Storefront search