Support passing multiple i18next modules to RemixI18Next #136
Closed
trishrempel
started this conversation in
Ideas
Replies: 2 comments
-
Pull request to implement this: #137 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now published on the latest version of remix-i18next |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, you can only pass an i18next back end module to RemixI18next using the
backend
option.However, it would be useful to be able to pass one or more modules of any type that can be passed to the internal i18next instance.
In my particular use case, I'd like to configure RemixI18next to use a custom
I18nFormat
plugin.Proposal
Introduce an optional
plugins
option that is an array of i18next plugins.With this, you could deprecate the
backend
option and have it passed inmodules
instead.We can then update
createInstance()
as follows:Beta Was this translation helpful? Give feedback.
All reactions