Revert "[TASK] Remove locale-workaround for PHP before 5.5"