Comments (7)
Hello! Is this a new addition to the I18n implementation? I haven't run this gem against the 2.3.8 yet, so it would be great to know. Is it something you could simply add name-spacing too, or reference directly (::)?
from i18n_backend_database.
yes i am referring to the new I18n implementation, this problem could easily be fixed by changing the Locale class name and than the plugin works like a charm.
The thing is that it still doesn't support Chaining which is really nice and probably some other cool stuff the new I18n offers... i think that if your plugin could use the built-in I18n ActiveRecord's backend (I18n::Backend::ActiveRecord) as the gate to the database and extend it with all the cool features your plugin offers it will be great, i assume that if you implement it this way it will work with all I18n features and support rails 3 once it's released.
from i18n_backend_database.
@uyshmuely, I have the same issue, but i don't understand your "path". Can you explain your change ? thks.
from i18n_backend_database.
which issue are you referring to? Chaining or the Locale module problem?
from i18n_backend_database.
I'm seeing this in 2.3.5 as well.
from i18n_backend_database.
The problem I18n::Backend::Database refer Locale from I18n::Locale
While it should refer Locale from ActiveRecord::Base::Locale
from i18n_backend_database.
I've also seen this issue, which I fixed by changing a lot of references in database.rb to the above mentioned ActiveRecord::Base::Locale.
from i18n_backend_database.
Related Issues (12)
- Please add a license file HOT 2
- License issue HOT 1
- Error at "rails g i18n_backend_database" (Rails 3.1) HOT 1
- Rails 3.x support HOT 3
- use text instead of strings for raw_key, value HOT 2
- Provide an easy way to restrict access to provided controllers HOT 3
- rake i18n:populate:all causes interpolation argument errors missing in "Validation failed: {{errors}}" HOT 5
- create_seed_translations should look for I18n.translate as well as I18n.t
- seed_application_translations not respecting options
- tlt shouldn't allow blank entries
- "Interpolation argument * missing in *" error in rake task
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i18n_backend_database.