gem 'hyper-i18n', git: 'https://github.com/ruby-Hyperstack/hyper-i18n.git'
to your Gemfile
bundle install
require 'hyper-i18n'
to your components manifestModel.model_name.human
and Model.human_attribute_name
are available:t
to components, just as ActiveSupport does for views. It also implements the same lazy-loading pattern, so if you name space your locale file the same as your components, it will just work: