async def _resolve_params(self,
                              params: Dict[Text, Any],
                              request: Optional['Request']):
        """
        If any StringToTranslate was passed as parameter then it is rendered
        at this moment.
        """

        out = {}

        for k, v in params.items():
            if isinstance(v, StringToTranslate):
                out[k] = await render(v, request)
            else:
                out[k] = v

        return out