refactoring: extract and move getTranslatedDiscTemplateContent from
RenderCommand to WebUtilsService