I'm trying to set hebrew as a secondary language with polyglossia. I wish that the title, author and date would be in hebrew and the rest would be defaulted to english. This is how my document is set-up currently:
\documentclass[]{article}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{hebrew}
\newfontfamily\hebrewfont[Script=Hebrew]{Arial}
\begin{hebrew}
\title{כותרת}
\author{מחבר}
\end{hebrew}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\section{test}
\end{document}
And this is what is showing up:
I've tried to look on how to begin writing in a secondary language using polyglossia and I've found someone using \begin{language}
and \end{language}
blocks so I've wrapped my title and author commands with it, but as you can see nothing is showing up.
Any ideas?
Thanks in advance.