Closed sabrina2 closed 12 years ago
I would assume this is because you're running it inside a Rails application, rather than inside the spree_i18n project itself. This task is only available inside spree_i18n.
Why were you trying to run it inside an app?
Oh yes, you're right! I missed the big red note on top of the instructions (http://guides.spreecommerce.com/i18n.html#creating-and-modifying-locales): "These instructions pertain to the use of the spree_18n gem. They assume that you are working with your locale files within the context of the spree_i18n source code. It is certainly possible to work with locale files directly within your Rails application but the Rake tasks would need to be adjusted slightly if you intended to use them."
Hi,
I installed spree_i18n as described here: https://github.com/spree/spree_i18n
Then I added the line
config.i18n.default_locale = :de
to config/application.rb.When I try to run
$ rake spree_i18n:update_default
as described here: http://guides.spreecommerce.com/i18n.html#refreshing-the-default-localeI get an error:
Regards, Sabrina