HI!
Our apps returns HTTP response from the proxy URL has content-type : application/liquid set in headers.
Following the guides here => https://help.shopify.com/en/api/guides/application-proxies.
However, if a multilingual sub path is added, such as https://example-store.myshopify.com/fr for French, https://example-store.myshopify.com/fr/apps/my-app-proxy doesn't send a request to proxy server.
For https://example-store.myshopify.com/apps/my-app-proxy/fr, We received the request,but the header and footer are still in language primary.
how to have multilingual page, including header and footer, and meanwhile our proxy server receive requests?
Our apps returns HTTP response from the proxy URL has content-type : application/liquid set in headers.
Following the guides here => https://help.shopify.com/en/api/guides/application-proxies.
So, just to clarify; you have already registered the fr locale? Meaning to say; if you went to https://your-shop.myshopify.com/fr/ that your homepage would render in French?
However, if a multilingual sub path is added, such as https://example-store.myshopify.com/fr for French, https://example-store.myshopify.com/fr/apps/my-app-proxy doesn't send a request to proxy server.
For https://example-store.myshopify.com/apps/my-app-proxy/fr, We received the request,but the header and footer are still in language primary.
Yes, correct. https://example-store.myshopify.com/apps/my-app-proxy/fr should hit your proxy. It is within the sub-path of your proxy URL. Just like https://example-store.myshopify.com/apps/my-app-proxy/dinosaurs and https://example-store.myshopify.com/apps/my-app-proxy/muffins will also hit your proxy.
The only reason I can think of that would stop https://example-store.myshopify.com/fr/apps/my-app-proxy from hitting your proxy would be that perhaps you've not yet registered the French locale for your site.
Hi there PhobosTech,
visit: https://esearch-test.myshopify.com/fr
and we have https://esearch-test.myshopify.com/a/uc-search for our proxy server
but https://esearch-test.myshopify.com/fr/a/uc-search was 404 and it doesn't send request.
Hi there PhobosTech,
visit: https://esearch-test.myshopify.com/fr
and we have https://esearch-test.myshopify.com/a/uc-search for our proxy server
but https://esearch-test.myshopify.com/fr/a/uc-search was 404 and it doesn't send request.
oooooh - I think I might know what the problem is...
It might not have anything to do with the fr locale.
Do me a favor - and completely delete your proxy within your store's settings. (not on your server)
Now, re-register your proxy - exactly as you had it before. Once you do that, DO NOT EDIT YOUR PROXY!
I had this very same issue. The thing is, Shopify has a but in their proxy system. If you register a proxy, and then edit it - even just once - it will break the entire thing without a hint as to why. If you ever have to edit your proxy (because I'm guessing you've edited it at least once, am I right?) it will break it 100%, and you'll never know why.
Let me know how that goes for you.
Hi, PhobosTech,
I am having the exact same problem as UpperCommerce: in a shop with 3 languages, only the main language works with the application proxy, if we try to add the locale to the URL, as we do for all the other URLs in shopify, the request is not sent to the application proxy.
Removing and adding the application to the store has no effect whatsoever.
Hi, could you tell me more about the solution? I still don't know how to do that.
The App proxies don't have multi-language support currently in Shopify's docs.
User | Count |
---|---|
13 | |
12 | |
7 | |
4 | |
4 |