Search notes:

Registry: HKEY_CURRENT_USER\Software\Microsoft\Office\_version_\Common\LanguageResources

InstallLanguage

The value of InstallLanguage is the language id (type REG_DWORD) of the chosen default language (Office: File -> Options -> Language -> Choose Editing Languages)

PreferredEditingLanguage and PreviousPreferredEditingLanguage

Unlike InstallLanguage, the data type of these two values is REG_SZ.
The following script changes what in Excel can be changed under File -> Options -> Languages -> Choose Editing Language
$office_version  = '16.0'
$newPrefEditLang = 'en-US'

# $regKey = 

$regPath = "HKCU:\Software\Microsoft\Office\$($office_version)\Common\LanguageResources"
$regKey  = get-itemProperty -path $regPath

$prevPrefEditLang = $regKey.PreferredEditingLanguage

$eatMe = new-itemProperty -path $regPath -name         PreferredEditingLanguage -propertyType string -value $newPrefEditLang  -force
$eatMe = new-itemProperty -path $regPath -name PreviousPreferredEditingLanguage -propertyType string -value $prevPrefEditLang -force
Github repository about-Windows-Registry, path: /HKEY_CURRENT_USER/Software/Microsoft/Office/application_version/Common/LanguageResources/preferred-editing-language.ps1

See also

Some of the values of this registry key can be configured with SETLANG.EXE.

Index