Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Make the language cookie value extendable #2905

Closed
2 of 4 tasks
Xenossolitarius opened this issue Apr 10, 2024 · 1 comment
Closed
2 of 4 tasks

Make the language cookie value extendable #2905

Xenossolitarius opened this issue Apr 10, 2024 · 1 comment

Comments

@Xenossolitarius
Copy link

Describe the feature

I am currently trying to plug in a Nuxt 3 based site into an old web ecosystem and I am using prefix_except_default strategy. I am interested in keeping the old behavior to use short name prefixes like "en" or "es" but for the sake of supporting cross domain language cookie I would like to use "en-US" or "es-ES" when checking the cookie. Currently it's using the same value as the url prefix. If this is not in plan, can you give me some short guidance how to hack it? Probably intercepting the cookie on the server side?

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@kazupon
Copy link
Collaborator

kazupon commented Apr 12, 2024

This is a question, not issue. so I'll move to github discussions.

@nuxt-modules nuxt-modules locked and limited conversation to collaborators Apr 12, 2024
@kazupon kazupon converted this issue into discussion #2907 Apr 12, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants