suggestion: I18n awareness #6

grimen opened this Issue Dec 12, 2009 · 1 comment


None yet

2 participants


....take I18n.locale into account. Seems to be tricky to setup now.


Are you trying to set the namespace to I18n.locale? That's what I'm trying to do and I get this:

Error message:

can't convert nil into Hash

Stack trace:

/Library/Ruby/Gems/1.8/gems/settingslogic-2.0.6/lib/settingslogic.rb:107:in `replace'
/Library/Ruby/Gems/1.8/gems/settingslogic-2.0.6/lib/settingslogic.rb:107:in `initialize'
/Library/Ruby/Gems/1.8/gems/settingslogic-2.0.6/lib/settingslogic.rb:63:in `new'
/Library/Ruby/Gems/1.8/gems/settingslogic-2.0.6/lib/settingslogic.rb:63:in `instance'
/Library/Ruby/Gems/1.8/gems/settingslogic-2.0.6/lib/settingslogic.rb:40:in `[]'


This works:

namespace I18n.locale.to_s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment