Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS - Reenable Language Detection #599

Open
3 tasks
narin opened this issue Dec 5, 2024 · 0 comments
Open
3 tasks

DS - Reenable Language Detection #599

narin opened this issue Dec 5, 2024 · 0 comments

Comments

@narin
Copy link
Contributor

narin commented Dec 5, 2024

Description

We used a package called @os-team/i18next-react-native-language-detector to detect the device's language setting on mobile and pipe that to i18n. This package seems to be incompatible with Expo SDK 52 and/or React Native 0.76. We've removed it for now until the package has been updated. Since we only currently support English, this is not an urgent ticket.

/** i18n.ts */

// Use RNLanguageDetector only if mobile
if (process.env.STORYBOOK_WEB !== 'true') {
  i18n.use(RNLanguageDetector)
}

Acceptance Criteria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant