locales module

copied from attachmentgenie/locales
fix for really annoying locale error / warning