The first thing you need to do is obtain the language pack cab for the language you want to switch to. For example, for en-gb language, you'll need a file called "Microsoft-Windows-Client-Language-Pack_x64_en-gb.cab".
The Microsoft Learn website shows a few official ways to obtain the file if you're an OEM or an IT Professional. Microsoft doesn't seem to provide a public link to those cab files. You can also try to find it across the internet as some people have been hosting them.
Once you have the file, you'll need to find the language code for the desired language. This document from Microsoft lists all supported language codes. Opening the pdf and doing a quick search for "en-GB" gives me the "0x0809" value. Note down the part after the 0x.
Having the file and the code, here's how you would install it through the DISM tool from Windows:
dism /online /Add-Package /PackagePath:<file>
reg add HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language /v InstallLanguage /t REG_SZ /d <code> /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language /v Default /t REG_SZ /d <code> /f
For the en-gb language:
dism /online /Add-Package /PackagePath:Microsoft-Windows-Client-Language-Pack_x64_en-gb.cab
reg add HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language /v InstallLanguage /t REG_SZ /d 0809 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language /v Default /t REG_SZ /d 2057 /f
I haven't found official documentation for the modified reg keys, but that's how most sources suggest modifying the value of system language.