Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> ruby >> ruby-http-accept-language
etiona  ] [  nabia  ] [  aramo  ]

Balík: ruby-http-accept-language (2.1.1-1)

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

Ostatné balíky súvisiace s balíkom ruby-http-accept-language

  • závisí
  • odporúča
  • navrhuje
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    alebo ruby-interpreter
    Balík nie je dostupný
  • dep: ruby-activesupport
    Support and utility classes used by the Rails 4.1 framework
  • sug: ruby-railties
    tools for creating, working with, and running Rails applications

Stiahnuť ruby-http-accept-language

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 6.5 kB32 kB [zoznam súborov]