<commit_before>module VoluntaryTranslation
  class Engine < ::Rails::Engine
    config.i18n.load_path += Dir[File.expand_path("../../../config/locales/**/*.{rb,yml}", __FILE__)]
  end
end<commit_msg>Adds translation product to core navigation.<commit_after>module VoluntaryTranslation
  class Engine < ::Rails::Engine
    config.i18n.load_path += Dir[File.expand_path("../../../config/locales/**/*.{rb,yml}", __FILE__)]
    
    config.to_prepare do
      Voluntary::Navigation::Base.add_product('translation', t('workflow.user.products.translation.title'))
    end
  end
end
{'fraction_non_alphanumeric': 0.17043478260869566, 'fraction_numerical': 0.006956521739130435, 'mean_word_length': 4.383177570093458, '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': '5377475', 'n_tokens_mistral': 185, 'n_tokens_neox': 177, 'n_words': 29}