The correct answer is: B. had written
The sentence is in the past perfect tense, which is used to talk about an action that happened before another action in the past. In this case, the action that happened before is “Petar Preradovic published poems in his native Croatian.” The action that happened after is “he had written all his poems in German.”
The other options are incorrect because they do not make sense in the context of the sentence. Option A, “published,” is in the simple past tense, which is not used to talk about two actions in the past. Option C, “has published,” is in the present perfect tense, which is not used to talk about an action that happened before another action in the past. Option D, “is writing,” is in the present tense, which is not used to talk about an action that happened before another action in the past. Option E, “will have written,” is in the future perfect tense, which is not used to talk about an action that happened before another action in the past.
Here is a diagram that shows the order of the events in the sentence:
- Petar Preradovic had written all his poems in German.
- Petar Preradovic published poems in his native Croatian.
I hope this helps!