I have already read some similar qustions, but the solution over there does not work if I add the 'babel' package. The thing is change the autorefname of one specific, say Figure, and I just want to change the way that it is written, say capital case. Everything is fine but if I uncomment the package babel, so the command is ignored.
\documentclass[11pt]{book}
%\usepackage[english]{babel}
\usepackage{hyperref}
\def\figureautorefname{FIGURE}
\begin{document}
\begin{figure}
\centering
\rule{1cm}{1cm}
\caption{foo}\label{fig:foo}
\end{figure}
As shown in \autoref{fig:foo}~\dots
\end{document}
probably is a easy questions, but I don't find it.
