It's not set in 2026. That claim was made up by a later english translation and popularized by the Moroder cut. Neither Harbou, nor Lang named any year ever.

Harbou even explicitly states at the beginning of her novel: "This book is not of today or of the future."