private function getTranslations($string, $params)
    {
        $out = [];
        $messages = $this->translationsHelper->getTranslations($string, $params);
        foreach ($messages as $message) {
            $out[$message['Lang']] = $message['Text'];
        }

        return $out;
    }