Non-Czech inhabitants of the Czech lands who had written in German and other languages , such as Franz Kafka , are usually excluded from the corpus of Czech literature , regardless of their own national self-identification .