Bosonization and entanglement spectrum for one-dimensional polar bosons on disordered lattices