This is a feature request. It would be great the Gajim plugin configure window could have an "Import From Pidgin" button next to "Generate". It would see if these files exist:
~/.purple/otr.private_key
~/.purple/otr.fingerprints
If they do, it would load these, parse them, and convert the keys to Gajim .key3 and .fpr formats.