I'm learning Prolog at University and have a lot of *.pl files. I already managed to make gedit recognize them as Prolog files and not Perl Scripts for syntax highlighting following this question and changing both prolog.lang and perl.lang in /usr/share/gtksourceview-4/language-specs:
However I'd like my filemanager to recognice this too, so when I take a look at the details it sais something like Type: Prolog instead of Type: Perl Script.
I'm currently using Manjaro 20.0.3 with the Gnome desktop and Nautilus file manager. I'd be happy about a custom solution for this setup but even more about a general approach for linux.