mynewsdesk / deprecated-translate

A Ruby on Rails plugin with a web interface for translating I18n texts
http://developer.newsdesk.se/2009/01/21/translate-new-rails-i18n-plugin-with-a-nice-web-ui
MIT License
346 stars 87 forks source link

Don't include translations from other translation plugins #1

Open smsm1 opened 15 years ago

smsm1 commented 15 years ago

There are a number of rails plugins that provide a bunch of translations. Can these please have the option of being ignored, or at least not being save in the application locale file.

I have installed the plugin http://github.com/svenfuchs/rails-i18n/tree/master and want to keep those rails type translations separate from my applications own translations, however whenever I save a translation all the rails type translations are included in the application locale file, thus filling it with unnecessary crap.

Can this be changed, so that the translations are stored in the correct file?

martennilsson commented 15 years ago

looking into this..

KieranP commented 15 years ago

+1 In particular, Rails use of arrays and active_scaffold's use of non-standard keys ("<=":"<=") make exporting the yaml to xml and back impossible without editing the file. Would be nice to pull these out and know they won't be coming back.

martennilsson commented 15 years ago

sounds reasonable, quite a workload right now though so unless one of you want to take a stab at it, it will take some time

smsm1 commented 14 years ago

It looks like http://github.com/innovationfactory/translate/commit/c3e7e3450e4ae4037e1aa1c606efcbec234fecb7 fixes the problem. =