Long words is one of my favorite features in German. Is there a criterion, "eine grammatische Empfehlung!, to know when we can put nouns together?
I'm not talking about creating significant words like "Glühbirne" or "Pusteblumen", don't even care if they are going to be used. I just want to know when it is correct, and when it is better than using
Genitiv, prepositions or Relativsätze instead.
- Importbananen instead of Bananen zu importieren, Bananen, die man importiert.
- Erziehungcampseinrichtung instead of Einrichtung der Erziehungcamps or Einrichtung von Erziehungcamps.
Does the answer rely on how often they are going to be used in the text?
Context: (read this text if the question wasn't clear enough.) I was writing a text, a little essay without other value than exercising German. I had to mention some "Verhütungsmaßnahmen gegen Jugendkriminalität". I have a very good teacher, and she always corrects minimal details and improves sentences whenever there is a better way to write. I was surprised when my word "Jugendkriminalitätsverhütungsmaßnahme" was not rejected after she read my text. I don't know if she overlooked it, she didn't even understand, or if I was indeed allowed to write that nonexistent word. In any case, I think that the question makes sense.