def extract(self, resource, catalogue):
raise NotImplementedError()<EOL>
Extracts translation messages from files, a file or a directory to the catalogue.
@type resource: str|iterable
@param resource: files, a file or a directory

@type catalogue: MessageCatalogue
@param catalogue: The catalogue