public static function getLocalizedDataField($data, $type, $field)
    {
        $string = '';
        $langId = Yii::$app->language;
        if (false === empty($data['extra'][$type][$field . '_' . $langId])) {
            $string = $data['extra'][$type][$field . '_' . $langId];
        } elseif (false === empty($data['extra'][$type][$field])) {
            $string = $data['extra'][$type][$field];
        } elseif (false === empty($data[$field])) {
            $string = $data[$field];
        }
        return $string;
    }