Skip to content

Wrong locale loaded for translations #35

@shadowinek

Description

@shadowinek

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 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions