Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake tasks removing existing translations #59

Closed
tvdeyen opened this issue Feb 28, 2012 · 2 comments
Closed

rake tasks removing existing translations #59

tvdeyen opened this issue Feb 28, 2012 · 2 comments

Comments

@tvdeyen
Copy link
Contributor

tvdeyen commented Feb 28, 2012

I used this rake tasks to synchronize and update my translations to newest spree defaults:

  1. rake spree_i18n:update_default
  2. rake spree_i18n:sync

After doing so all model and attributes translation were lost and resetted to the default value.
Thats because you namespaced the models and therefore the translation keys were changed from i.e product: to spree/product

Please fix the sync task to understand the namespace, otherwise all the translation effort from past years are obsolet!

@groe
Copy link
Contributor

groe commented Feb 25, 2013

+1

Looking at the history of the german translation file (and many other as well, I guess) is not very motivating. There are bulk commits that override perfectly translated phrases into their original values. I think that's related to this namespacing problem.

I am wondering if it is a better idea to just grab a copy of the YML file and use it for my spree application locally instead of referencing this github repository in my Gemfile. I don't want lots of hard work to be lost again after some wrong commits and the next bundle update (especially not in production!).

@radar
Copy link
Contributor

radar commented Feb 28, 2013

We will be looking into a better way of managing translations by using http://localeapp.com before Spree 2 comes out. You will not be managing the translations using rake commands any more.

@radar radar closed this as completed Feb 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants