Answer the question
In order to leave comments, you need to log in
How to build a multilingual website with nginx and node.js?
Actually, the question is not how to change the language back and forth,
but
1. how to determine the user's language and correctly give the page,
2. how to feed all this to search engines
, are there any best practice solutions?
should i do it on nodejs or nginx?
perhaps there are some articles...
now I'm at the stage of simply reading Accept-Language and setting the language by this parameter,
but I doubt it...
Answer the question
In order to leave comments, you need to log in
I would do it according to Accept-Language, because it is this setting that is available to the user in the browser, plus I would definitely give it a choice and install it in a cookie or in a profile.
First, about the multilingual site
should i do it on nodejs or nginx?nginx complements nodejs, not replaces it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question