you could do some string concatenation here
something like

<pre>
<%
  title = 'titel_%s' %lang
  beschreibung = beschreibung_%s' %lang
</pre>

etc...

it would be much shorter

and then replace later