def _get_translations():
    ctx = _request_ctx_stack.top
    if ctx is None:
        return None
    # babel should be in extensions for get_locale
    if 'babel' not in ctx.app.extensions:
        return None
    translations = getattr(ctx, 'wtforms_translations', None)
    if translations is None:
        dirname = messages_path()
        translations = support.Translations.load(
            dirname, [get_locale()], domain='wtforms'
        )
        ctx.wtforms_translations = translations
    return translations
Computes all transformations of data.
dataset/ETHPy150Open lepture/flask-wtf/flask_wtf/i18n.py/_get_translations--crossover with--dataset/ETHPy150Open omangin/multimodal/multimodal/experiment.py/TwoModalitiesExperiment._get_all_transformations