Skip to content
  • Sameer Rahmani's avatar
    c1dbb13e
    debug_missing_translation configuration added to action_view · c1dbb13e
    Sameer Rahmani authored
    `I18n.translate` helper will wrap the missing translation keys
    in a <span> tag only if `debug_missing_translation` configuration has
    a truthy value. Default value is `true`. For example in `application.rb`:
    
        # in order to turn off missing key wrapping
        config.action_view.debug_missing_translation = false
    c1dbb13e
    debug_missing_translation configuration added to action_view
    Sameer Rahmani authored
    `I18n.translate` helper will wrap the missing translation keys
    in a <span> tag only if `debug_missing_translation` configuration has
    a truthy value. Default value is `true`. For example in `application.rb`:
    
        # in order to turn off missing key wrapping
        config.action_view.debug_missing_translation = false
Loading