Skip to content

Commit

Permalink
Add a note about tolk:import in README
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Apr 9, 2010
1 parent 3ef4b29 commit 86081dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ As tolk stores all the keys and translated strings in the database, you need to

The above will fetch all the new keys from en.yml and put them in the database. Additionally, it'll also get rid of the deleted keys from the database and reflect updated translations - if any.

If you already have data in your non primary locale files, you will need to import those to Tolk as a one time thing :

$ rake tolk:import

Upon visiting http://your_app.com/tolk - you will be presented with different options like creating new locale or providing translations for the existing locales. Once done with translating all the pending strings, you are can write back the new locales to filesystem :

$ rake tolk:dump_all
Expand Down

0 comments on commit 86081dd

Please sign in to comment.