Skip to content

Using i18n for internationalization in a Solito Monorepo with a Next and Expo app.

License

Notifications You must be signed in to change notification settings

felippewick/Next-Expo-Monorepo-with-i18n

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Expo Monorepo with i18n

Using i18n for internationalization in a Solito Monorepo with a Next and Expo app.

Repo was bootstrapped using create-solito-app and then modified to include i18n.

Pull Requests are welcome!

Getting Started

The locales used for this example are stored in the locales directory. This directory will then be copied into the next and expo apps later.

In next, copy to public/locales and in expo, copy to locales.

Supported locales are en and kl which stand for English and Klingon respectively (PS Klingon translations may not be perfect).

Please ensure that you always pass I18nProvider to a component being imported from your packages and pass the current i18n instance down..

About

Using i18n for internationalization in a Solito Monorepo with a Next and Expo app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 81.1%
  • JavaScript 18.9%