tolken 0.2.0
A down-to-earth database translation Gem for Rails using psql jsonb. Designed to be less magic than most other translation projects. You should be aware of when you're dealing with translatable fields and what language you're interested in at any given moment. This comes from experience working with gems such as Globalize, while it might fit some projects we've found that the magic that starts out as a convenience quickly becomes a liability. In Tolken a translatable field is just a Ruby hash which makes it easy to reason about.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (1):
rails
= 5.2.1
Development 依赖 (10):
bundler
~> 1.16
pg
~> 1.0
pry
~> 0.11
rake
~> 12.3
rspec
~> 3.0
rubocop
= 0.58.2
rubocop-rspec
~> 1.23
simplecov
~> 0.16
simple_form
~> 4.0
with_model
~> 2.0