Fix error with es-ES and other locales