Namespace
Methods
C
I
S
Instance Public methods
interpolate(locale, string, values)
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb, line 98
def interpolate(locale, string, values)
  if string.respond_to?(:i18n_interpolate)
    string.i18n_interpolate(values)
  elsif values
    super
  else
    string
  end
end
store_translations(locale, data, options = {})
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb, line 108
def store_translations(locale, data, options = {})
  compile_all_strings_in(data)
  super
end
Instance Protected methods
compile_all_strings_in(data)
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb, line 114
def compile_all_strings_in(data)
  data.each_value do |value|
    Compiler.compile_if_an_interpolation(value)
    compile_all_strings_in(value) if value.kind_of?(Hash)
  end
end