I am trying to add the list of algorithms to my thesis but I am facing the problem that it is the only one which appears in the german languauge also I am getting Liste der Algorithmen
instead of List of Algorithms
. I need the german option in the document class since I am writing the abstract in german too. How can I fix it?
List of Figures and List of tables appears in the english language!!!
Code:
\documentclass[
english,
german,
11pt,
twoside,
a4paper,
BCOR8.25mm,
DIV10,
headsepline,
footsepline
]{scrbook}
\usepackage{graphicx}
\usepackage{listings}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
\usepackage{babel}
\begin{document}
\selectlanguage{english}
\frontmatter
\begin{table}[h]
\centering
\scalebox{0.8}{
\begin{tabular}{ |l|l|l|l|l|l|l|l|}
\hline
behaviour\_id & mac & stop\_name & stop\_distance & speed & direction & route & created\_at \\
\hline
1 &10:X5:J0:06:B6:U8 & Arsenal & 45 & 18 & Piccadilly & 9 & 2015-10-03 11:02:13 \\
\hline
\hline
\end{tabular}}
\caption{Arrivaletime table after injection.}
\end{table}
\bigbreak
\begin{algorithm}[H]
\SetAlgoLined
\KwData{mac}
\KwResult{Status 202.}
find $behaviour\_id$ of the last $stop\_name$ with $stop\_distance < 60 $ and this mac in the behaviour table;\\
get 6 records with the same $stop\_name$ after the found $behaviour\_id$;\\
int $speedAverage$ = calculate the speed average of these records;\\
\If{$speedAverage < 6$}{
delete data for this mac from the bus plus behaviour tables; \\ return $status = 202$;
}
\caption{Detection algorithm - Deleting.}
\label{alg: status200}
\end{algorithm}
\appendix
\listoffigures
\listoftables
\listofalgorithms
\lstlistoflistings
\end{document}
german
if you do not really need it. Without you'll get the english title.