I see some strange behaviour when using shopify.i18n.translate().
I’m using this i18n function as it’s also used in a newly created POS grid extension via Shopify CLI.
When used in Dev Preview the correct device language will be used (in my case de).
But the app extension used regulary/app persistance is using the default language (en).
In both cases shopify.locale shows the correct device locale de-DE.
Thanks for the detailed report! We’ve been able to reproduce this issue — it looks like a bug where shopify.i18n.translate() isn’t picking up the correct locale in deployed extensions. Can you confirm this is the case for yourself?
We’re actively working on a fix, thanks for your patience.
Victor
Correct. That’s exactly what I can see here.
Are there any news about that issue?
Hi @Jens_Simon,
This will be fixed in the upcoming release for POS v11.5. It should release in the next 1-2 weeks depending on app store approval.
Thanks for your patience,
Victor