Fix doctrine locale 23

Already in master. Needs to be in 2.3 as well.