Module I18n::Locale::Tag
In: lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb
lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/parents.rb
lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/rfc4646.rb
lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag.rb

Methods

Classes and Modules

Module I18n::Locale::Tag::Parents
Class I18n::Locale::Tag::Rfc4646
Class I18n::Locale::Tag::Simple

Constants

RFC4646_SUBTAGS = [ :language, :script, :region, :variant, :extension, :privateuse, :grandfathered ]
RFC4646_FORMATS = { :language => :downcase, :script => :capitalize, :region => :upcase, :variant => :downcase }

Public Class methods

Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+.

Sets the current locale tag implementation. Use this to set a different locale tag implementation.

Factory method for locale tags. Delegates to the current locale tag implementation.

[Validate]