(request, domain, form, displayLang)
return {
        'intents': {
            'templates': next(app_callout_templates),
        },
        'javaRosa': {
            'langs': app.langs,
            'displayLanguage': displayLang,
            'showOnlyCurrentLang': (app.smart_lang_display and (len(app.langs) > 2)),
        },
        'uploader': {
            'uploadUrls': {
                'image': reverse("hqmedia_uploader_image", args=[domain, app.id]),
                'audio': reverse("hqmedia_uploader_audio", args=[domain, app.id]),
                'video': reverse("hqmedia_uploader_video", args=[domain, app.id]),
                'text': reverse("hqmedia_uploader_text", args=[domain, app.id]),
            },
            'objectMap': app.get_object_map(multimedia_map=form.get_relevant_multimedia_map(app)),
        },
    }
Returns the base set of options that will be passed into Vellum
    when it is initialized.
    :param displayLang: --> derived from the base context
Returns the base set of options that will be passed into Vellum
    when it is initialized.
    :param displayLang: --> derived from the base context
Returns the base set of options that will be passed into Vellum when it is initialized . : param displayLang : -- > derived from the base context
def _get_base_vellum_options(request, domain, form, displayLang):
    """
    Returns the base set of options that will be passed into Vellum
    when it is initialized.
    :param displayLang: --> derived from the base context
    """
    app = form.get_app()
    return {
        'intents': {
            'templates': next(app_callout_templates),
        },
        'javaRosa': {
            'langs': app.langs,
            'displayLanguage': displayLang,
            'showOnlyCurrentLang': (app.smart_lang_display and (len(app.langs) > 2)),
        },
        'uploader': {
            'uploadUrls': {
                'image': reverse("hqmedia_uploader_image", args=[domain, app.id]),
                'audio': reverse("hqmedia_uploader_audio", args=[domain, app.id]),
                'video': reverse("hqmedia_uploader_video", args=[domain, app.id]),
                'text': reverse("hqmedia_uploader_text", args=[domain, app.id]),
            },
            'objectMap': app.get_object_map(multimedia_map=form.get_relevant_multimedia_map(app)),
        },
    }
def _get_base_vellum_options ( request , domain , form , displayLang ) : app = form . get_app ( ) return { 'intents' : { 'templates' : next ( app_callout_templates ) , } , 'javaRosa' : { 'langs' : app . langs , 'displayLanguage' : displayLang , 'showOnlyCurrentLang' : ( app . smart_lang_display and ( len ( app . langs ) > 2 ) ) , } , 'uploader' : { 'uploadUrls' : { 'image' : reverse ( "hqmedia_uploader_image" , args = [ domain , app . id ] ) , 'audio' : reverse ( "hqmedia_uploader_audio" , args = [ domain , app . id ] ) , 'video' : reverse ( "hqmedia_uploader_video" , args = [ domain , app . id ] ) , 'text' : reverse ( "hqmedia_uploader_text" , args = [ domain , app . id ] ) , } , 'objectMap' : app . get_object_map ( multimedia_map = form . get_relevant_multimedia_map ( app ) ) , } , }