Skip to content
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

Multilingual website translations issue #71

Open
ShapesGraphicStudio opened this issue Dec 18, 2024 · 0 comments
Open

Multilingual website translations issue #71

ShapesGraphicStudio opened this issue Dec 18, 2024 · 0 comments

Comments

@ShapesGraphicStudio
Copy link

ShapesGraphicStudio commented Dec 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant