# File lib/gettext/rails.rb, line 151 def self.init_gettext(domainname, options = {}, content_type = "text/html") opt = {:charset => "UTF-8", :content_type => content_type} if options.kind_of? String # For backward compatibility opt.merge!(:charset => options, :content_type => content_type) end GetText.output_charset = opt[:charset] @@gettext_domainname = domainname @@gettext_content_type = opt[:content_type] end