"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTextForLanguage = getTextForLanguage;
function getTextForLanguage(value, language) {
    const i18n = value.i18n;
    if (i18n)
        return i18n[language];
    return value.fallback ?? '';
}
