Hi Scotty,
I have the same problem with our “custom app” (proxy app).
I can confirm I’m receiving the “accept-language”-header,
but this doesn’t contain the published languages from our shop.
It looks like it sends the languages from the clients-browser…
Published languages in our shop:
English = default, German and French
Received languages header in proxy app:
Chrome: [HTTP_ACCEPT_LANGUAGE] => nl,nl-NL;q=0.9,en;q=0.8,en-US;q=0.7,de;q=0.6,fr;q=0.5,sv;q=0.4,it;q=0.3,lb;q=0.2,da;q=0.1,la;q=0.1,es;q=0.1
IE edge: [HTTP_ACCEPT_LANGUAGE] => nl-NL,nl;q=0.8,en-GB;q=0.5,en;q=0.3
A much bigger issue for me is that front-end isn’t accepting localised URL’s;
So:
-
myshop.com/apps/customapp > is working
-
myshop.com/de/customapp > isn’t working (404)
(I’ve already re-installed the app, and made sure that “read_locales” and “read_translations” are in the app scopes).
Can you please advise?