Skip to content

Commit

Permalink
load the environment to have the crowdin path added to I18n.load_path
Browse files Browse the repository at this point in the history
  • Loading branch information
ulferts committed Jul 26, 2023
1 parent f846f2f commit 3c7b6d0
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 3c7b6d0

Please sign in to comment.