# File lib/ramaze/helper/localize.rb, line 112 def locales(fallback = nil) locales = [parse, fallback].flatten.uniq ::Locale::TagList.new(locales) end
# File lib/ramaze/helper/localize.rb, line 117 def parse parse_params || parse_session || parse_cookie || parse_header end
# File lib/ramaze/helper/localize.rb, line 136 def parse_header request.accept_language.map{|lang| ::Locale::Tag.parse(lang) } end
Generated with the Darkfish Rdoc Generator 2.