# Cleverref does not use default language after \foreignlanguage [closed]

I have the following code:

\documentclass[a4paper]{article}

% PACKAGES
\usepackage[english,ngerman]{babel}
\usepackage[utf8]{inputenc}

\usepackage[ngerman]{varioref}
\usepackage{hyperref}
\usepackage[ngerman]{cleveref}

\begin{document}

\section{Test}\label{test}

\foreignlanguage{english}{here some english text..}
%\selectlanguage{ngerman}

german text.. \cref{test}.

\end{document}


The reference should be in german, because the default language is set to german. But cleverref always prints references in english language after \foreignlanguage{english}{some english text..}. I can avoid this strange behaviour by appending \selectlanguage{ngerman} but this look more like a hack instead of a real solution.

Does anyone have a solution for that (or do I misunderstand the concept of \foreignlanguage)?

-

## closed as unclear what you're asking by Christian Hupfer, Thorsten, Jesse, Kurt, Svend TveskægApr 14 at 17:30

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Your code works fine for me. Are your packages up to date? – Andrew Swann May 9 '14 at 14:23
The MWE works fine for me, too. (cleveref.sty 2013/12/28 v0.19) – clemens May 10 '14 at 12:30