Easy locale detection and automatic fallback to the best locale possible, other l10n niceties
This is a small PHP library that allows you to do locale detection based on HTTP accept-lang headers.
Its main job is to return the best locale available on your site compared to what your visitors' browsers declare they accept.
It needs PHP >=5.4
Licence: MPL 2/GPL 2.0/LGPL 2.1