use yoda translater in pirate-api