-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
The package does not support multi-lang apps #7
Comments
Some possible solutions:
|
@deiberchacon Hi! So, I was working on the 2nd way, that I mentioned in my previous comment. I'll ping you here soon! Thanks! |
@deiberchacon I committed and tagged the new release. Now the package supports multi-locale translations and package translations as well. This way we can have the performance advantage and also we can change the locale without rerendering the views. You may update your package to the latest version. Be brave to open a new issue to if you find any bug or weird behavior. I close this issue now. Thank you! |
Since the translations are generated via blade directive, they are stored statically in the compiled templates. This is performance friendly, however, it does not track the current application locale.
It means, if the application local has been changed, the generated translations will have the previous locale.
The text was updated successfully, but these errors were encountered: