POS UI internationalization and localization

Looking at the POS UI doc and it doesn’t seems to be anything for internationalization and localization, because normally in other extensions, its simply

  const { extension, i18n } = useApi();

But for POS UI, there is no i18n api, just wondering how does one do internationalization? get the currency from Session api or subscribe to Locale api changes, then use those to work out the language?

Hi Vito,

There is a Currency Code available in the SessionAPI in the CurrentSession:

We’ve used this construction below to format the currency symbol:

I hope this helps :slight_smile:

1 Like

Hi Adam,

Thanks, that’s what I thought what might needed, I was hoping there is something like Customer Account UI Extension:

So it will handle getting the i18n utilities and select the translation files etc

1 Like