Used locale file to improve error messages