<commit_before># @see https://github.com/grosser/fast_gettext#2-add-a-translation-repository
# @see https://github.com/grosser/gettext_i18n_rails#locales--initialisation
FastGettext.add_text_domain('citizen_budget_model', path: 'po', type: :po) # same path as gettext gem
FastGettext.default_text_domain = 'citizen_budget_model'
FastGettext.default_available_locales = ['en-CA', 'fr-CA']<commit_msg>fix path to po file<commit_after># @see https://github.com/grosser/fast_gettext#2-add-a-translation-repository
# @see https://github.com/grosser/gettext_i18n_rails#locales--initialisation
FastGettext.add_text_domain('citizen_budget_model', path: File.expand_path('../../po', __dir__), type: :po) # same path as gettext gem
FastGettext.default_text_domain = 'citizen_budget_model'
FastGettext.default_available_locales = ['en-CA', 'fr-CA']
{'fraction_non_alphanumeric': 0.14336917562724014, 'fraction_numerical': 0.007168458781362007, 'mean_word_length': 7.297029702970297, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6420136', 'n_tokens_mistral': 301, 'n_tokens_neox': 296, 'n_words': 44}