def register_blueprint(self, blueprint, register_with_babel=True, **options):
        """
        Like :meth:`~flask.Flask.register_blueprint`, but if ``register_with_babel``
        is True, then we also allow the Babel Bundle an opportunity to register language
        code prefixed URLs.
        """
        if self.unchained.babel_bundle and register_with_babel:
            self.unchained.babel_bundle.register_blueprint(self, blueprint, **options)
        return super().register_blueprint(blueprint, **options)
def register_blueprint ( self , blueprint , register_with_babel = True , ** options ) : if self . unchained . babel_bundle and register_with_babel : self . unchained . babel_bundle . register_blueprint ( self , blueprint , ** options ) return super ( ) . register_blueprint ( blueprint , ** options )
Like :meth:`~flask.Flask.register_blueprint`, but if ``register_with_babel``
        is True, then we also allow the Babel Bundle an opportunity to register language
        code prefixed URLs.