I looked at How to change the title of ToC? but the answer seems not to work for me. I use KOMA scrbook. What is wrong in my MWE? It does not produce an error but seems not have an effect. The title is still "Inhaltsverzeichnis".
\documentclass{scrbook}
\KOMAoptions{paper=
% 6.14in:9.21in, % 6.139in:9.209in, %format for KPD
128.5mm:198.4mm, %(5,06" x 7,91") %ziel
BCOR=8mm,twoside,
headinclude=false, footinclude=false,
headings=normal,
titlepage=true,
% draft=true,
DIV=9, %ziel kleines buch
fontsize=12pt,
% showframe=true, showcrop=true % does not workw scrbook
}
%%%% Sprache
\usepackage[german]{babel}
%change title for german toc
\addto\captionsngerman{% Replace "english" with the language you use
\renewcommand{\contentsname}%
{Inhalt}%
}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\part{ Philosophie}
some text
\end{document}

ngerman(new german - use optionngermanforbabel) orgerman(outdated german- use\addto\captionsgerman). – esdd Apr 22 '20 at 07:56