I think it'd be great if siunitx could read the locale setting of a document automatically, if it's set via \DocumentMetadata{lang=de-DE}, for example. I know \DocumentMetadata user-input is not checked for errors, but couldn't this be done in the package? Exactly like it's being done right now
Babel started doing it like that for a week now (25.8 introduced this)
There are some languages without locales, I don't know how to handle those cases though