ignite icon indicating copy to clipboard operation
ignite copied to clipboard

Swap out i18n-js for react-18next

Open robinheinze opened this issue 1 year ago • 1 comments

We currently use i18n-js via expo-localization

@mazenchami Has done a lot of research and library comparisons and i18n-js just doesn't have the features necessary to consider ourselves robustly setup for serious internationalization.

Features we would gain (not exhaustive):

  • Pluralization
  • Number, currency and date formatting
  • context support (incl. gender)
  • Complex string interpolation, formatting, etc.

So I'm proposing we transition to react-i18next

robinheinze avatar Aug 22 '24 19:08 robinheinze

this could be an option as well https://github.com/lingui/js-lingui

bryanprimus avatar Aug 23 '24 03:08 bryanprimus

Currently in-progress PR: https://github.com/infinitered/ignite/pull/2770

jamonholmgren avatar Sep 10 '24 18:09 jamonholmgren

Merged this PR to v10 and completed this task.

fpena avatar Sep 16 '24 14:09 fpena