Official: Germany plans to extend Afghan mission