protected function setTranslationForMessageFromService($selfEdit, $msgInstanceName, $key, $label, $language, $delete)
    {
        if ($delete) {
            $translationService = new InstanceProxy($msgInstanceName, $selfEdit);

            return $translationService->deleteMessage($key, $language);
        } else {
            $translationService = new InstanceProxy($msgInstanceName, $selfEdit);

            return $translationService->setMessage($key, $label, $language);
        }
    }