Multilanguage Websites

Jonathan Matthews contact at
Thu Dec 27 19:47:04 UTC 2012

On 27 December 2012 17:18, Silvio Siefke <siefke_listen at> wrote:
> Is Server or Script better?

Distinguishing between different versions of content that should be
served to different users for a single URI is the job of the
application, not the system underlying it.

Whilst there are cases where nginx (or "your HTTP server", as this
isn't an nginx-specific discussion) should do some of this work (e.g.
choosing between gzipped output or not), switching content based on
the user's desired language is absolutely not one of them.

There *are* nginx configuration options which look like they might
help you with this, like
Do not be fooled. They should *not* be used for something as complex
as language selection.

Read the 5 very informative posts here (read from bottom to top) for
much more information about the complexities that you'll face during
an internationalization process. Then imagine trying to solve those
problems just using an nginx config. Then realise that that's a daft

Jonathan Matthews // Oxford, London, UK

More information about the nginx mailing list