-
Notifications
You must be signed in to change notification settings - Fork 52
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
Translate constant files #45
Comments
+1 I have a middleware to show notifications and this is outside of react control.
Any clever way to translate those messages, and keeping this as a middleware? |
In middleware I was able to access translate function with:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
I have this use case of translating config files which are outside the scope of react. Though currently, I am passing the
context.t
to these constant .js files from the components and getting the translated labels.Is there a better way of doing it ?
PS: awesome package !
The text was updated successfully, but these errors were encountered: