In case your are in Germany over a 1-year visa, you could’t Trade your license but possibly talk to to extend it for an additional 6 months. You can find more details on this authorities website.
Bei https://lutz-fahrschule.com/product/deutsche-fuehrerschein-kaufen/