hubertlepicki / GoTranslateYourself

This is Rails 3 engine, which lets your client translate their apps themselves. Is using MongoDB
http://amberbit.com
MIT License
36 stars 36 forks source link

As a translator, I want to be able to save/restore translations to YAML file #3

Open hubertlepicki opened 13 years ago

hubertlepicki commented 13 years ago

Need to be able to download individual translation files:

Need to be able to upload individual translation files as well.

javierv commented 13 years ago

I'm not sure if this is the same feature I was gonna request, so I'll just comment here just in case.

I think a cool feature would be that instead of just reading "dev" translations on the "dev.yml" file, GoTranslateYourself read every translation and every file under config/locales. Or, even better, being able to configure which files it should read and which files it should allow editing (I think allowing users to edit things such as the Active Record stuff could be a bit overwhelming for them).

Thanks!

hubertlepicki commented 13 years ago

That's true, javier. I think that easy and useful solution would be to have dev.yml file like we do now, and allow any additional translations to be included in en.yml, fr.yml, pl.yml etc. But I think those translations should be marked as read-only, so that user can't edit them. This way we get to specify number of translations user can edit, and number of "safe" ones that we provide -- like ActiveRecord, or stuff that has interpolations inside and user can break site when editing it.