added locale to my validation function