Module | Locale::Info |
In: |
lib/locale/info/region.rb
lib/locale/info/language.rb |
Returns the language for the given 2 or 3 digit code.
Need to require ‘locale/info’ or ‘locale/language’.
Returns a hash of all the ISO languages. The hash is {String, language} where the string is the 3 digit language code from the ISO 639 data. This contains all of the data from the ISO 639-3 data (7600 Languages).
Need to require ‘locale/info’ or ‘locale/language’.
Returns a hash of all the ISO languages. The hash is {String, language} where the string is the 2 digit language code from the ISO 639-1 data. This contains all of the data from the ISO 639-1 data (186 Languages).
Need to require ‘locale/info’ or ‘locale/language’.