Replies: 1 comment
-
|
Yes it's possible. Simply wrap your subtree in another |
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
Uh oh!
There was an error while loading. Please reload this page.
-
In our product development we usually release our product in English first, and then (over a few hours or days) bring in the translations for more languages.
This has as an issue that in that period we may have incomplete or bad translations. It should fall on process for this not to happen, but it does and is time and resource intensive.
What we would like to do, is to "override" the locale for a specific subtree of react components. In pseudo react:
Obviously we would control the state of the
I18nLocaleOverridewith a feature flag, but this is out of the scope of this request. The important part is that we should not have to change the implementation ofNewComponentsand its children.Is this possible with lingui?
Beta Was this translation helpful? Give feedback.
All reactions