Store active language NOT in url. #126
-
Thanks @robisim74 for contributing this library to the community. I was wondering if there is another way to store the current language rather than in url. |
Beta Was this translation helpful? Give feedback.
Answered by
nelsonprsousa
May 5, 2024
Replies: 1 comment 1 reply
-
You can infer from cookies or accept-language header. However you'll end up with duplicated content to search engines and get penalties for it (if SEO is important to you). |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anxhirr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can infer from cookies or accept-language header.
However you'll end up with duplicated content to search engines and get penalties for it (if SEO is important to you).