Well-written software should support language and region independently - en-DE should be valid, as should de-US and zu-JP. In practice, a lot of software hardcodes the regions it thinks are valid for each language.
Thankfully the web is moving in the right direction. Browsers do the right thing when you call new Intl.DateTimeFormat('en-DE').format(new Date()), for instance.