-
Notifications
You must be signed in to change notification settings - Fork 14
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
Js or Json per language and lazy loading #10
Comments
Hello @Enrica-r ! In production, matice lazy loads the translations. The translations are only generated once and reused each time. See Also, the directive Basically, maticeJs methods are independent of inertia or vue js. You do not have to use inertia's shared. |
Some of your comments/suggestions are relevant. Now working on them, |
I saw your comment on PR discussion of Laravel Jetstream. I'm still looking for an I18n solution for my project. It should be realized with Laravel/Jetstream/Inertia/Vue. I studied your solution.
Your library is very good because it uses Laravel's standard files and standard location.
As I understand your component is loading all languages together with the blade directive. Same with the Artisan command which produces one file together with current local, fallback and all translations. This is OK for small applications with few languages. But think about an application with 20 - 50 pages and 3 to 10 languages? One user uses one language only mostly.
My feature request is:
What are you thinking? Thank you very much for your answer.
The text was updated successfully, but these errors were encountered: