| Module | GettextSetup |
| In: |
lib/gettext-setup/gettext_setup.rb
|
Returns the locale for the current machine. This is most useful for shell applications that need an ACCEPT-LANGUAGE header set.
`locales_path` should include:
valid `options` fields: :file_format - one of the supported backends for fast_gettext (e.g. :po, :mo, :yaml, etc.)