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
I am trying to use your package, but I have issues with translation. Our locale settings looks like this:
'locale' => 'de', 'fallback_locale' => 'en',
In the application the user can select de or en as his language. With de everything is ok. But when the user uses en the translations look like this: The password muss sowohl groß- als auch kleingeschriebene Buchstaben enthalten.
The issue is, that the translations are loaded before the user is even initialized and the package is loading the translations with the default locale.
Did you encounter similar issues?
Thanks.
edit: We are using Laravel 5.5.40 with auto-discovery
The text was updated successfully, but these errors were encountered:
And then get initialized with $this->package('schuppo/password-strength', 'password-strength', __DIR__);.
Can't think of a workaround except just gutting everything out into a custom service provider.
I had the same issue, but instead of butchering the package I just copied the functionality and translations for the languages I'm using, and it works like a charm. Here's the solution in a gist. It uses same validation rule names (and translation keys) so it's basically a drop-in replacement for this package.
Hi,
I am trying to use your package, but I have issues with translation. Our locale settings looks like this:
'locale' => 'de',
'fallback_locale' => 'en',
In the application the user can select
de
oren
as his language. Withde
everything is ok. But when the user usesen
the translations look like this:The password muss sowohl groß- als auch kleingeschriebene Buchstaben enthalten.
The issue is, that the translations are loaded before the user is even initialized and the package is loading the translations with the default locale.
Did you encounter similar issues?
Thanks.
edit: We are using Laravel 5.5.40 with auto-discovery
The text was updated successfully, but these errors were encountered: