Rename localegen attribute to tc-locale-gen to avoid conflicts.