Rails: store translations in database

前端 未结 4 1546
难免孤独
难免孤独 2020-12-02 21:34

I was searching for a plugin/gem solution to extend the native rails i18n for storing my translations into my database. Maybe I used the wrong search terms, but all I found

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 22:04

    We had a good experience with fast_gettext

    it has a DB-backed backend that comes with a controller to do the translations over the web. The caching is built-in, though we had to code pre-loading of all of the translations on boot (it is much faster then get them one-by-one with caching).

提交回复
热议问题