Hello Jg-6461
The reference to the languages issue is to the presence of exotic languages in the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect
Sometimes deleting Language packs that are not related to the system may mitigate this error. Please, before making any changes to a registry key or folder, always save a backup of that key in case you need it recovered.
On the other hand, one workaround is to Export the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" from a server where you can deploye the role (even not fully configured) then import in the problematic server. This will also mitigate the error during the installation.
All in all I would recommend to try to add the feature using DISM and see if that helps versus installing through GUI.
https://learn.microsoft.com/en-us/archive/blogs/joscon/adding-features-with-dism
--------------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--