sidebar_position |
---|
160 |
Ignite is currently set up to support Internationalization in English, Arabic, Korean, French, Japanese and Hindi. This is detected on app load and will set your app to that language.
Since Ignite already comes with an RTL language, Arabic, adding any new ones would work by default.
To remove RTL support, follow the following steps:
- In
/app/i18n/i18n.ts
- Remove your RTL language imports
- Remove references to those language objects
- Remove lines where we allow and force RTL on the native layer
I18nManager.allowRTL(isRTL)
I18nManager.forceRTL(isRTL)
- Remove all other associated logic that uses the exported
isRTL
variable - Remove any
tx="some:i18n.key"
from your components and usetext="Some Text"
instead (e.g.<Text text="Some Text" />
See the i18next Documentation to add languages to app/i18n/i18n.ts
.