A way to fix the problem would be to update the package to the newest version or replace the Turkish options: %%% adding 'turkish' option customization % %---- \newboolean{algocf@localkw@turkish}\setboolean{algocf@localkw@turkish}{false}% \DeclareOption{turkishkw}{% \setboolean{algocf@localkw@turkish}{true}% }% \DeclareOption{turkish}{% \renewcommand{\listalgorithmcfname}{Algoritma Listesi}% \renewcommand{\algorithmcfname}{Algoritma}% \renewcommand{\algorithmautorefname}{algoritma}% \renewcommand{\algorithmcflinename}{\c{c}izgi}% \renewcommand{\algocf@typo}{}% \renewcommand{\@algocf@procname}{Prosed\"ur}% \renewcommand{\@algocf@funcname}{Fonksiyon}% \renewcommand{\procedureautorefname}{prosed\"ur}% \renewcommand{\functionautorefname}{fonksiyon}% \renewcommand{\algocf@languagechoosen}{turkish}% }% %