开发者

is there a web gui to import/export Rails I18n translations?

I use Rails 3 with i18n translations in the db

   create_table :translations do |t|
     t.string :locale
     t.string :key
     t.text   :value
     t.text   :interpolations
     t.boolean :is_proc, :default => false
   end

Is there a way 开发者_如何学Pythonto synchronize the development with the production db? or a webgui to import/export/edit the keys?

-- I meant something like http://drupal-translation.com/content/how-translate-interface-strings Maybe It could be a rack gem with import/export/merge of yml files


Your looking for a database GUI.

  • For sqlite, I recommend http://sourceforge.net/projects/sqlitebrowser/
  • For mysql, php my admin
  • PostgreSql is shipped with pgAdmin
  • For oracle, sqldeveloper

I'm not sure that's what you are looking for, and if the best solution with Rails. But these tools will help you manage your database.


I'm not totally sure what you are looking for but regarding importing/eporting yml files, there's a service called GetLocalization.com that allows you to do that so that they are easily editable by translators. There is also an In-page editor that allows you to edit strings on the web service itself.


You could export your records to YAML and then load them. Other option, if you are using the same type of database is to use the provided import/export mechanism (dump).


We have built a service that focuses on exactly that issue: PhraseApp.

It works excellent with Rails and allows you to edit/manage your translations within a browser interface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜