Is it possible to automatically set the default language based on the browser language? #43
-
Hello, Instead of setting the default language (default_lang) in _config.yml, is it possible to detect the browser language and use that as the default? |
Beta Was this translation helpful? Give feedback.
Answered by
george-gca
Jan 28, 2025
Replies: 1 comment
-
It is probably possible, but you might have to use js for that, since Jekyll builds the site and doesn't have runtime information. For |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rafaeor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is probably possible, but you might have to use js for that, since Jekyll builds the site and doesn't have runtime information.
For
parallel_localization
check https://github.com/untra/polyglot.