Complex sentence: The Second World War didn't inflict extensive damage on Goes, but Goes was under German occupation until 1944.
Split into simpler sentences: The Second World War didn't damage Goes much. In the Second World War Goes was occupied until 1944.