Support setting a locale for `bin/*` command-line scripts
Summary:
Fixes T16388.
Depends on D26580
Test Plan:
- Install downstream translations extension
- Set a `locale.command` locale, either via the web UI or `bin/config set locale.command fr_FR`
- Run a `bin/*` command and see its output in French
- Set `locale.command` to something bogus.
- Run a `bin/*` command and see it doesn't crash (and instead uses English), allowing you to fix the problem.
- Run a `bin/*` command with a `--locale` arg and see the locale in the command line override the locale as configured.
Reviewers: O1 Blessed Committers, avivey
Reviewed By: O1 Blessed Committers, avivey
Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Maniphest Tasks: T16388
Differential Revision: https://we.phorge.it/D26582