"编寓言" can be translated into English as "write a fable" or "compose a fable".
Here, "fable" refers to a short story, typically with animals as characters, that conveys a moral or lesson. "Write" and "compose" are both appropriate verbs to use when describing the act of creating such a story.