[1.6.x] Fixed #21358 -- Allowed runserver on non-English locales

Thanks svartalf for the report.
Backport of 2080bce69 from master.