\ignorespaces %% This is just a comment line %%% Default legends \psfrag{A}{$A_{\mbox{en}}$} \psfrag{B}[][][1][180]{B} %%% French variations of the legends \onlylanguage{french} \psfrag{A}{$A_{\mbox{fr}}$} \psfrag{B}[][][1][180]{\textcolor{red}{B}} \endonlylanguage %%% Alternative syntax. \iflanguage{french} {\psfrag{W}{Titre}} {\psfrag{W}{Title}}