3098Serbian (Cyrillic, Serbia and Montenegro (Former))
10266Serbian (Cyrillic, Serbia)
12314Serbian (Cyrillic, Montenegro)
2074Serbian (Latin, Serbia and Montenegro (Former))
11290Serbian (Latin, Montenegro)
9242Serbian (Latin, Serbia)
1072Sesotho
1132Sesotho sa Leboa
1074Setswana
1113Sindhi (Devanagari)
2137Sindhi (Arabic)
1115Sinhala
1051Slovak
1060Slovenian
1143Somali
2094Lower Sorbian
1070Upper Sorbian
11274Spanish (Argentina)
16394Spanish (Bolivia)
13322Spanish (Chile)
9226Spanish (Colombia)
5130Spanish (Costa Rica)
7178Spanish (Dominican Republic)
12298Spanish (Ecuador)
17418Spanish (El Salvador)
4106Spanish (Guatemala)
18442Spanish (Honduras)
2058Spanish (Mexico)
19466Spanish (Nicaragua)
6154Spanish (Panama)
15370Spanish (Paraguay)
10250Spanish (Peru)
20490Spanish (Puerto Rico)
3082Spanish (Spain)
21514Spanish (United States)
14346Spanish (Uruguay)
8202Spanish (Venezuela)
1089Swahili
2077Swedish (Finland)
1053Swedish (Sweden)
1114Syriac
2143Central Atlas Tamazight (Latin, Algeria)
1119Central Atlas Tamazight (Arabic, Morocco)
1097Tamil
1092Tatar
1098Telugu
1064Tajik
1054Thai
1105Tibetan (China)
2163Tigrinya (Eritrea)
1139Tigrinya (Ethiopia)
1055Turkish
1090Turkmen
1152Uyghur (China)
1058Ukrainian
1056Urdu
2115Uzbek (Cyrillic)
1091Uzbek (Latin)
2051Valencian
1075Venda
1066Vietnamese
1106Welsh
1160Wolof
1073Xitsonga
1157Sakha
1144Yi (China)
1085Yiddish
1130Yoruba
Description
Defines the editing options for Office 2016 programs. In addition to configuring this setting, consider enabling the same language in the 'Enabled Editing Languages' policy node. Please refer to the Office Resource Kit documentation for important information on setting the installed version of Microsoft Office.
Export Builder
BETA
Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.
These exports write the registry — this is not a managed GPO.ⓘ
.reg file
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Primary Editing Language
; State: Enabled
; Supported on: At least Windows Server 2008 R2 or Windows 7
[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\languageresources]
"installlanguage"=dword:00000436
More formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Primary Editing Language
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'installlanguage' -Value 1078 -Type DWord
Intune XML
No direct Policy CSP / OMA-URI mapping for this policy. Use the Intune Remediation tab, or ingest the ADMX in Intune.
Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Primary Editing Language
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources' -Name 'installlanguage' -Expected 1078 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Primary Editing Language
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'installlanguage' -Value 1078 -Type DWord
SCCM scripts
# Exported from gporais.com
# Policy: Primary Editing Language
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Primary Editing Language
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources' -Name 'installlanguage' -Expected 1078 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Primary Editing Language
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'installlanguage' -Value 1078 -Type DWord
Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.