I can’t get delayed_job using the LOCALE file (fr in my case).
The Order Details emails received are in english while my staging instance in v1.3.1 with the fr LOCALE.
I have tried:
- adding LOCALE=“fr” in .profile and in .bashrc of the user that monit is using
- trying to start delayed_job manually (i.e. without monit) with the same user (running
ruby ~/apps/openfoodnetwork/current/script/delayed_job -i 0 start)
- modifying the start line in monit for openfoodnetwork
start program = "/bin/bash -c 'LOCALE=fr RAILS_ENV=staging /home/offrance/.rbenv/shims/ruby /home/offrance/apps/openfoodnetwork/current/script/delayed_job -i 0 start'"
None of these changes worked.