The .po files are not relevant, you need to check if it is a file and if it is in the form /^[a-z]{2,3}(_[A-Z]{2})?$/