News for hackers. Stuff that matters.
Re:Website mistakes that are easily fixed by gioele on Friday June 14, 2013 @05:30PM (#5882636)
WRT language selection and availability, I developed a small Rack gem `i18n_best_langs` that could be useful to web devs.

https://github.com/gioele/rack-i18n_best_langs

It picks up clues from various HTTP pieces (headers, URI) and generates a list of locales in order of possible user preference. It is then up to the web application to make good use of this list of preferences.

It is alpha quality but I would love some criticism about it from HN readers.

There are no comments on this comment yet.