Skip to content

undefined method `prepare_key' #72

@LaurensN

Description

@LaurensN

After bundle install, migrations, when starting server or console I get the following error:

/translation_helpers.rb:60:in translate_with_adding': undefined methodprepare_key' for #I18n::Backend::Simple:0x007f8ba7554d50 (NoMethodError)

Rails 4.2.4

This happens with the following translation_center.yml settings:

development:
enabled: true # default false

Keys inspector allowed values:

"missing" to inspect only untranslated keys

"all" to enable inspector for translated and untranslated keys

"off" to turn off keys inspector

inspector: 'all' # default missing

I18n.translate source

i18n_source: 'yaml' # can be db or yaml; default is db

when a new key is added to db, the value of the key is added as the default translation in English

save_default_translation: false

<<: *common_atts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions