Need to remove 365 different languages.
Here is my xml config...
<Configuration ID="dc096a73-950a-4e76-b291-21c67837a1d8">
<Info Description="" />
<Add OfficeClientEdition="64" Channel="Current" MigrateArch="TRUE">
<Product ID="O365BusinessRetail">
<Language ID="en-us" />
<ExcludeApp ID="Lync" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Property Name="SCLCacheOverride" Value="0" />
<Property Name="TenantId" Value="8bbf5855-31b5-4335-b1ef-8f39cf00c0d4" />
<Updates Enabled="TRUE" />
<RemoveMSI />
<AppSettings>
<Setup Name="Company" Value="Eastern NC School for the Deaf" />
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
</Configuration>
Where do I add these files...
<Remove>
<Language ID="es-es"/>
<Language ID="fr-fr"/>
</Remove>
Comments
Check out this blog post on setting up office. You can import your xml and tweak the languages in the customization tool.
How to deploy Office 365 the right way | PDQ
If you need to remove them for existing installs, I think you can do that using Get-InstalledLanguage and Uninstall-Language.
LanguagePackManagement Module | Microsoft Learn