Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

load the environment to have the crowdin path added to I18n.load_path

ulferts3c7b6d0ecc1c
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
index 71b06122b1b..b7da60c72f3 100644
--- a/lib/tasks/assets.rake
+++ b/lib/tasks/assets.rake
@@ -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'))