Terry Pratchett had over 70 books published in his lifetime, and so his legacy is in his published works, while Kafka's masterpieces were largely unpublished at the time of his death and he was not widely known, so they are not really analogous situations.