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.
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ChooseLocale.class.php
README
demo.php

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.3

Licence: MPL 2/GPL 2.0/LGPL 2.1