spree-contrib/spree_i18n

Let people choose their own translations.

lafeber opened this issue · 0 comments

Instead of having decorators for every model, e.g.

module Spree
  ProductProperty.class_eval do
    translates :value, fallbacks_for_empty_translations: true
    include SpreeI18n::Translatable
  end
end

let people include these two lines themselves? In my case, I didn't need translations for properties.