def __init__(self, paths=None, entry_point_group=None, domain='messages'):
        """Initialize domain.

        :param paths: List of paths with translations.
        :param entry_point_group: Name of entry point group.
        :param domain: Name of message catalog domain.
            (Default: ``'messages'``)
        """
        self.paths = []
        if entry_point_group:
            self.add_entrypoint(entry_point_group)
        for p in paths or []:
            self.add_path(p)
        super(MultidirDomain, self).__init__(domain=domain)
def __init__ ( self , paths = None , entry_point_group = None , domain = 'messages' ) : self . paths = [ ] if entry_point_group : self . add_entrypoint ( entry_point_group ) for p in paths or [ ] : self . add_path ( p ) super ( MultidirDomain , self ) . __init__ ( domain = domain )
Initialize domain.

        :param paths: List of paths with translations.
        :param entry_point_group: Name of entry point group.
        :param domain: Name of message catalog domain.
            (Default: ``'messages'``)