# Translate "Algorithm" in the caption

This is my code

\begin{algorithm}
\caption{Funkcija ACO}
\label{alg:aco}
\begin{algorithmic}
\STATE{do something}
\end{algorithmic}
\end{algorithm}

it produces a caption like this

I want to translate the word "Algorithm" to my language.. how can I do this?

You have to modify \ALG@name in order to get the appropriate translation:

\documentclass[11pt]{article}
\usepackage{algorithm}% http://ctan.org/pkg/algorithms
\usepackage{algorithmic}% http://ctan.org/pkg/algorithms
\makeatletter
\renewcommand{\ALG@name}{AlGoRiThM}
\renewcommand{\listalgorithmname}{List of \ALG@name s}
\makeatother
\begin{document}
\listofalgorithms
\begin{algorithm}
\caption{Funkcija ACO}
\label{alg:aco}
\begin{algorithmic}
\STATE{do something}
\end{algorithmic}
\end{algorithm}
\end{document}

You may also consider using the more advanced algorithmicx bundle.

• that's it, tnx. i will use the algorithmicx too.
– Alan
Jun 16 '12 at 13:52

Use \floatname command in the algorithm package. For renaming the algorithm caption.

\floatname{algorithm}{Algorithmus}
• Instead of posting this as a question, rather provide the code that shows how to use \floatname. Feb 23 at 18:36