localize prev and next links