-
Sometimes for certain languages, classes and packages it may be necessary to use a different compiler like xelatex than the default pdflatex. We have to set XeLatex instead of PdfLatex for writing Bangla
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{bengali}
\newfontfamily\englishfont{Noto Sans}
\newfontfamily\bengalifont[Script=Bengali]{Noto Sans Bengali}
\begin{document}
This is an English sentence with some Bengali text: \textbengali{এটি বাংলা ভাষা।} Here is some more English text.
\end{document}