Fixes #5908 - transfer the locale information to the dynflow run/finalize phase
Merge pull request #4150 from iNecas/5908

Fixes #5908 - transfer the locale information to the dynflow run/finalize phase