Add a more descriptive error for localization string 

Add a more descriptive error for localization string errors where the string is not a valid format string.