A statement to news agencies says the Taleban will not enter into a dialogue with the Afghan government as long as foreign soldiers remain in Afghanistan .