def subscribe_filter_to_signals(settings):
 for sig in settings.get('I18N_FILTER_SIGNALS', []):
  sig.connect(filter_contents_translations)

def subscribe_filter_to_signals ( settings ) : for sig in settings . get ( 'I18N_FILTER_SIGNALS' , [ ] ) : sig . connect ( filter_contents_translations )
subscribe content filter to requested signals .