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

Add export of JS locales to setup_dev script\n\nThis will make it easier to run tests locally by simply running this script beforehand

Oliver Günther9a938042fe18
diff --git a/bin/setup_dev b/bin/setup_dev
index 44feea543ab..c7b8f70119c 100755
--- a/bin/setup_dev
+++ b/bin/setup_dev
@@ -17,6 +17,9 @@ try 'npm install --no-shrinkwrap >> log/setup_dev.log'
echo "Linking plugin modules"
try 'bundle exec rake openproject:plugins:register_frontend >> log/setup_dev.log'
+echo "Exporting frontend locale files"
+try 'bundle exec rake i18n:js:export >> log/setup_dev.log'
+
echo "---------------------------------------"
echo "Done. Now start the following services"
echo '- Rails server `RAILS_ENV=development ./bin/rails s`'