Module: I18n::LanguageNames

Defined in:
lib/i18n/language_names.rb,
lib/i18n/language_names/version.rb

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.get_language_name(language, locale) ⇒ Object



11
12
13
# File 'lib/i18n/language_names.rb', line 11

def self.get_language_name(language, locale)
  TwitterCldr::Shared::Languages.from_code_for_locale(language, locale)
end