Hi all I am trying to translate en to my local language i see few parameters as below.

Show posts by {username}.

How do i go about these translation?

you should keep the parameters as they are and translate the rest of the sentences.
in your example Show posts by should be translated and {username} have to stay unchanged.
like Voir les messages de {username}. in France.