ruby-http-accept-language

Ruby library that finds out which locale the user prefers

Description

This ruby library reads the language user specified in their browser and returns the language in an array. This package will be useful in cases where the locale should be selected depending on the user's locale settings automatically.

Features
 * Splits the http-header into languages specified by the user
 * Returns empty array if header is malformed.
 * Corrects case to xx-XX
 * Sorted by priority given, as much as possible.
 * Gives you the most important language
 * Gives compatible languages

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/iain/http_accept_language


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-http-accept-language