1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Source: ruby-http-accept-language
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Anish A <aneesh.nl@gmail.com>
Section: ruby
Testsuite: autopkgtest-pkg-ruby
Priority: optional
Build-Depends: debhelper-compat (= 12),
gem2deb,
ruby-activesupport,
ruby-i18n,
ruby-rack-test,
ruby-rspec
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-http-accept-language
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-http-accept-language.git
Homepage: https://github.com/iain/http_accept_language
XS-Ruby-Versions: all
Rules-Requires-Root: no
Package: ruby-http-accept-language
Architecture: all
Depends: ruby-activesupport,
${misc:Depends},
${shlibs:Depends}
Suggests: ruby-railties
Description: Ruby library that finds out which locale the user prefers
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
XB-Ruby-Versions: ${ruby:Versions}
|