Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> ruby >> ruby-http-accept-language
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: ruby-http-accept-language  ]

パッケージ: ruby-http-accept-language (2.1.1-3)

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

その他の ruby-http-accept-language 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • sug: ruby-railties
    tools for creating, working with, and running Rails applications

ruby-http-accept-language のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 7.0 kB33 kB [ファイル一覧]