\newcommand\gm{\textit{(m.)} } \newcommand\gf{\textit{(f.)} } \providecommand{ActiveTranslation}{none} \newenvironment{translation}[1]{% \def\switchtolang{#1} \ifx\switchtolang\ActiveTranslation \begin{adjustwidth}{.1\textwidth}{} \begin{\switchtolang} \itshape }{% \end{\switchtolang} \end{adjustwidth} \else % do not translate % No output \fi }