<commit_before>module Shoppe
  module Paypal
    class Engine < Rails::Engine
      
      initializer "shoppe.paypal.initializer" do
        Shoppe::Paypal.setup
      end

      config.to_prepare do
        Shoppe::Order.send :include, Shoppe::Paypal::OrderExtensions
        Shoppe::Payment.send :include, Shoppe::Paypal::PaymentExtensions
      end
      
    end<commit_msg>ensure i18n locales files are loaded<commit_after>module Shoppe
  module Paypal
    class Engine < Rails::Engine
      config.before_initialize do
        config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
      end

      initializer "shoppe.paypal.initializer" do
        Shoppe::Paypal.setup
      end

      config.to_prepare do
        Shoppe::Order.send :include, Shoppe::Paypal::OrderExtensions
        Shoppe::Payment.send :include, Shoppe::Paypal::PaymentExtensions
      end
    end
{'fraction_non_alphanumeric': 0.09539842873176206, 'fraction_numerical': 0.004489337822671156, 'mean_word_length': 2.878260869565217, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1178635', 'n_tokens_mistral': 266, 'n_tokens_neox': 258, 'n_words': 53}