POS - Wrong language using shopify.i18n.translate

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.