Fixes #3881: pin locale to 2.0.9 or lower

(cherry picked from commit 5090476799f7f6d8f14749f52973e03a2ef37491)