it was in erfurt that martin luther , years before he sparked the protestant reformation , decided to become a roman catholic monk ; he translated the bible from latin into german at nearby wartburg castle , laying the foundation for modern german .