[Tex/LaTex] siunitx: localisation not working

siunitx

I have just discovered the siunitx package and want to use it in a German language document. Unfortunately, I can't get the German word 'bis' instead of 'to' with the \SIrange command:

\listfiles
\documentclass{beamer}
\usepackage[ngerman]{babel}
\usepackage{siunitx}

\begin{document}
\begin{frame}
  $\dot{V}=\SIrange{0}{650}{\litre\per\hour}$
\end{frame}
\end{document}

What's wrong?

Best Answer

Use the range-phrase option, either for the package or the \SIrange command. Note that you have to add the spaces before and after bis, e.g. using \, for 1/2 space.

\listfiles
\documentclass{beamer}
\usepackage[ngerman]{babel}
\usepackage[range-phrase={\,bis\,}]{siunitx}

\begin{document}
\begin{frame}
    $\dot{V}=\SIrange{0}{650}{\litre\per\hour}$
\end{frame}
\end{document}