Using variables and not show them

Hi,
I would like to input a variablein the snippet and then depending of its content, have different outputs, but need the variable not to be shown in the output.

For example:

Input "English" or Input "Spanish"

Results:
"Hola John como estas?"
or
"Hello John how are you?"

How can I solve this?
Thank you!

Refer to this question here: