Fix the locale support, the replace was in the wrong file.