Extensions

list_locales

    This function will parse a given HTTP Accepted language instruction(or retrieve it from $_SERVER if not provided) and will return a sorted array. For example, it will parse fr;en-us;q=0.8

    Thanks to Fredbird.org for this code.

    Please note: It is not possible to download individual extensions from the GitHub repository. You have to download the full repository (click on ZIP) and sort out what you need yourself.

    Download on GitHub.com

    For questions and comments please use the forum or discuss on the social networks.


    More by author:

    Related items