I have tried to look around to see, if I could change my bibliography title, but its name is still in Danish. In Danish, the word for 'References' is 'Litteratur', but I want to change the name to 'References'. I have tried to renew the command \refname but nothing happens. Do you know how to fix it? I'm just using \cite{something} and then writing my references myself.
\documentclass[a4paper, 12pt]{extarticle}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[english, danish]{babel}
\usepackage{fancyhdr}
\usepackage[dvipsnames]{xcolor}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{titlesec}
\usepackage[left=0.5in, right=0.5in, top=0.8in, bottom=0.8in]{geometry}
\usepackage{lipsum}
\usepackage[breaklinks, colorlinks,linkcolor=NavyBlue, citecolor=NavyBlue, urlcolor=Blue]{hyperref}
\usepackage[utf8x]{inputenc}
\usepackage{titlesec}
\usepackage{fix-cm}
\usepackage{titletoc}
\usepackage{tocloft}
\usepackage{setspace}
\usepackage[all]{hypcap}
\usepackage{tikz, pgfplots}
\usetikzlibrary{calc}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{arrows}
\usepackage{etoolbox}
\renewcommand\refname{References}
\begin{document}
\begin{thebibliography}{depth,9}
\bibitem{Oversigtsnote 1}
\textit{Oversigts note 1} skrevet af \textit{HH}
\bibitem{Oversigtsnote 2}
\textit{Oversigts note 2} skrevet af \textit{HH}
\bibitem{Oversigtsnote 3}
\textit{Oversigts note 3} skrevet af \textit{HH}
\end{thebibliography}
\end{document}
This is my result:

\addto{\captionsdanish}{\renewcommand\refname{References}}solve the issue? – gusbrs May 17 '18 at 18:46babelwhich, to make such things as the bibliography title language localized, uses a more elaborate structure. So, withbabel, you need to use the\addto{\captions<language>}{...}to get the desired result. – gusbrs May 17 '18 at 19:12inputenctwice, alsoutf8xis to be avoided as an unmaintained package is loaded, that has lots of bugs and other nasties. furthermore,hyperrefshould be loaded as late as possible.titlesecloaded twice as well. and last but not least, after some clean up, your code does produce the proper headlines for your references. – naphaneal May 17 '18 at 19:55