i18n_backend_database
i18n_backend_database copied to clipboard
Database Backend for Rails I18n
We found a problem matching case-sensitive keys in rails 2.3.5 and this change fixed it. We hope this can help you or someone else.
i really like this gem and have pushed my company to use it for several apps, especially when needing to go to outside translation firms to get the localization work...
Hi there, Awesome gem. Is there any rails 3 support planned for it? Or do you know a way to get it to work? Many thanks Wijnand
terminal output: ``` rails g i18n_backend_database $HOME/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.3/lib/active_record/base.rb:1088:in `method_missing': undefined method `named_scope' for # (NoMethodError)ax from $HOME/.rvm/gems/ruby-1.9.2-p290/gems/i18n_backend_database-0.0.1/lib/models/locale.rb:6:in `' from $HOME/.rvm/gems/ruby-1.9.2-p290/gems/i18n_backend_database-0.0.1/lib/models/locale.rb:1:in `' from $HOME/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require' from $HOME/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require' from $HOME/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in...
I18n defines a Locale module, This messes up the access to the plugin's Locale Class... All the methods the are called from the Database instance like available_locales fails because they...
Hello, I am trying to import my translations into database with rake i18n:populate:from_application but the task is always interrupted by an interpolation argument error: interpolation argument product missing in "{{product}}...
When we parse tlt tags, we translate anything in-between the set tag, ie: ^^this will be translated^^. However, we will incorrectly try and parse this ^^^^. Our regex should account...
We're running Rails 2.3.5, not sure if something changed in there. The problem has to do with some of the stuff in this commit http://github.com/dylanz/i18n_backend_database/commit/e1faa3f384daf26b2809aadfdb4f86569615497f What I was seeing is...
To replicate: Place this somewhere in the /app directory: I18n.t('activerecord.errors.messages.record_invalid', :errors => "test test test") Run the "I18n:populate:from_rails" rake task. The regular expressions grabs the key, but not the interpolation...
create_seed_translations should look for I18n.translate as well as I18n.t. It looks for the alias, but not the first class method.