Skip to content

Multilingual website translations issue #71

@ShapesGraphicStudio

Description

@ShapesGraphicStudio

Hi,
First, nice package, thanks!
I'm having a little issue thought as some texts seems to rely on APP_LOCALE setting in .env file.
I'm having a multilingual website and this should be set to current language.

Some strings are being translated when user changes language like:
_ 'more' => 'More details',
...
_ 'save' => 'Save settings',

But some are not like:
_ 'essentials' => [
'title' => 'Essential cookies',
'description' => 'There are some cookies that we have to include in order for certain web pages to function. For this reason, they do not require your consent.',
],

This is what I get when APP_LOCALE=fr and current language = en:
Capture d’écran 2024-12-18 à 13 38 42

With APP_LOCALE=en and current language = en everything is in english.
With APP_LOCALE=fr and current language = fr everything is in french.

Any idea on how I could fix this please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions