This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

Server-Driven Language Selection

Stefan Tilkov,

Aristotle Pagaltzis:

Conneg for language versions is a neat-sounding idea, but in practice there are so many contradictory requirements, edge cases and exceptional circumstances as to make it worthless. And where it is employed there is frequently no painless way to get the actually desired language version.
Just Say No.
Make the different language versions easily, cleanly addressable and stick a bunch of flag icons on your page, then call it a day. Your users will thank you and you will have less code to write and debug.

The flags are debatable, but +1 to the rest.