The pathfinder had the same engine as the Navara.for the Spanish models.
There were 3 engine variants 05 to 06, 06 to 2010 and 2010 onwards.
Differences in the egr, fuel pump, turbo actuator, serpentine belt etc
So if your Navara is 06 to 10, just plug and play.
If yours is Thailand built it gets a bit more complicated though.