I need to add a command \setRTL from the bidi package to write right-to-left text, at the beginning of every frame.
Another answer does not solve the issue; any suggestions?
\documentclass{beamer}
\usefonttheme{serif}
\usetheme{Madrid}
\usepackage{etoolbox} % no longer needed; loaded by Beamer from v3.36
\usepackage{bidi}
\AtBeginEnvironment{frame}{\setRTL}
\begin{document}
\begin{frame}{frame title}
hello world
\begin{enumerate}
\item first item
\item second item
\end{enumerate}
\end{frame}
\end{document}
