Multilingual documents in overleaf

by Nachos Tolstoy   Last Updated July 12, 2019 11:23 AM - source

Following wikibooks I have tried to make multilingual version of document in overleaf. However it doesn't seem to work. Instead of printing version for main language it prints all languages at once. Minimal example:

\documentclass[a4paper,11pt]{article} % Default font size and paper size
\usepackage[german, french, english]{babel} % multi-language support
\selectlanguage{english}
\usepackage[utf8]{inputenc} % for unicode input characters
\usepackage[T1]{fontenc}

\begin{document}

\babeltags{de = german, fr = french}
\textbf{Hello \textde{Hallo}}

\end{document}


The code results in:

Did I miss something out or Overleaf is just broken? How to do multilingual document properly?

Tags :