pascalc/tinyl10n

Easy locale detection and automatic fallback to the best locale possible, other l10n niceties

Installs: 1 704

Dependents: 0

Stars: 5

Watchers: 2

Language: PHP

0.7 2015-01-19 16:37 UTC

README

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