It would be great to have this encoded in statute. In the US, the doctrine of consideration in contract law used to server to rein this in, but in the last century has been weakened to the point where it has become a non-factor in most contractual disputes.
How would that matter, since money is fungible -- wages spend as well as Nnn-compete compensation.
In Germany it's like this.
Assuming you can read German. My German is horrid, but the German company I work for assured me contracts can only be in German.
For international companies it's common to provide a version in both German and English, with the caveat that only the German version is binding.
That is how it was for me, I got a two-column contract with each paragraph in both languages.