It has ability to identify documentation which is specified by %doc RPM macro and there is --nodocs DNF option to opt out of installing them. I am not aware of such a mechanism for language files.
It has ability to identify documentation which is specified by %doc RPM macro and there is --nodocs DNF option to opt out of installing them. I am not aware of such a mechanism for language files.