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

Extra personalization of internationalization #7178

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

arte-dev
Copy link

@arte-dev arte-dev commented Jun 4, 2024

What this PR does

Allow to modify lookupCookie for i18next. This is in line with current implementation, but it certainly would be better if all options could be overwritten. This is needed to be able to take advantage of the existing domain cookie that manages the language

Test me

Use cookie on changeLanguageOnStartWhen and change lookupCookie to the desired value. Change the language and you'll see the proper value on the cookie with name lookupCookie

Checklist

  • Unit tests aren't applicable,
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

@CLAassistant
Copy link

CLAassistant commented Jun 4, 2024

CLA assistant check
All committers have signed the CLA.

@arte-dev arte-dev changed the title Extra personalization of internationalization frommain Extra personalization of internationalization Jun 4, 2024
Copy link
Collaborator

@na9da na9da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @arte-dev, this looks good to me, thank you very much for the contribution!

@na9da
Copy link
Collaborator

na9da commented Oct 22, 2024

@arte-dev, Sorry, it took a while for us to review the PR. Would you be able to merge the latest main into your branch and move the line in CHANGES.md under next release?

Thanks!

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

Successfully merging this pull request may close these issues.

4 participants