Skip to content

Commit

Permalink
Merge pull request #13257 from opf/fix/i18n_js_export_locales_task
Browse files Browse the repository at this point in the history
load the environment to have the crowdin path added to I18n.load_path
  • Loading branch information
ulferts authored Jul 26, 2023
2 parents 1067b40 + 3c7b6d0 commit ec06dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/assets.rake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace :assets do
end

desc 'Export frontend locale files'
task :export_locales do
task export_locales: :environment do
puts "Exporting I18n.js locales"
time = Benchmark.realtime do
I18nJS.call(config_file: Rails.root.join('config/i18n.yml'))
Expand Down

0 comments on commit ec06dbc

Please sign in to comment.