Addition of a package generator function to the com_localise component