def register_language(template_class, extension, sample_extension=None):
    """Register a template language with the system.

        template_class - a class which implements ITemplate
        extension - the filename extension to register this
                    language. (example: .jsont)
        sample_extension - the filename extension of sample data files
                           for an extension. (example: .json)
        """
