Debian logoDebian Screenshots >

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.


Homepage

https://github.com/iain/http_accept_language


Statistics

773 other people were interested in this package here. The newest known version of this software is 2.1.1-3 (Information last updated about 13 hours ago.)