grigio
grigio

Reputation: 167

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 to 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

Upvotes: 0

Views: 1192

Answers (4)

docstun
docstun

Reputation: 90

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.

Upvotes: 0

Paulo Fidalgo
Paulo Fidalgo

Reputation: 22296

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).

Upvotes: 0

petteri
petteri

Reputation: 354

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.

Upvotes: 0

Marcel Falliere
Marcel Falliere

Reputation: 1894

Your looking for a database GUI.

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.

Upvotes: 1

Related Questions