You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is having some troubles with using translations in multiple packages.
When using a text in package-1 it will search in the language file of package-2.
Imagine I have two packages with the following language files:
When I want to get the string "login" on the login page it will show "login" on the front-end.
But when I move the property "login" to the language file of "register-package" it will load the right way.
Is there some way so I can make sure the code will search in its own package first?
The text was updated successfully, but these errors were encountered:
At the very moment, I am quite busy with other stuff for the next 3-4 weeks. Let me know whether you can try to debug the thing and make it work according to documentation, if guidance from me will be necessary let me know.
Hello,
My project is having some troubles with using translations in multiple packages.
When using a text in package-1 it will search in the language file of package-2.
Imagine I have two packages with the following language files:
register-package:
{ "hello": "Hello", "sign_in": "Sign in", "sign_out": "Sign out", "welcome": "Welcome!" }
login-package:
{ "test": "Test", "first_name": "First name", "last_name": "Last name", "login": "Login", "logout": "Logout", "welcome": "Welcome!" }
When I want to get the string "login" on the login page it will show "login" on the front-end.
But when I move the property "login" to the language file of "register-package" it will load the right way.
Is there some way so I can make sure the code will search in its own package first?
The text was updated successfully, but these errors were encountered: