I changed the caption of my figures running the following command (I'm using the babel package):
\addto\captionsngerman{\renewcommand{\figurename}{Abb.}}
If I use \autoref{$LABEL} to reference to the figure, however, it still shows the original figure caption, instead of "Abb. X".
Do I have to renew the command for refname as well? If so, would that change anything, if I now use \ref on something else besides my figures?
Here the MWE:
\documentclass[a4paper]{IEEEtran}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{hyperref}
\addto\captionsngerman{\renewcommand{\figurename}{Abb.}}
\begin{document}
\autoref{fig:foobar}
\begin{figure}[htb]
\caption{BarFooCamp}
\label{fig:foobar}
\end{figure}
\end{document}

\autorefmacro of thehyperrefpackage? If so, you may want to issue the command\renewcommand\figureautorefname{Abb.}. – Mico Jan 12 '13 at 17:10\autorefofhyperref, but inserting your code, doesn't seem to solve the problem. – cherrung Jan 12 '13 at 17:14figureenvironment be a associated with theAbb.prefix. – Mico Jan 12 '13 at 17:22