\documentclass[a4]{article}
\usepackage{endnotes}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
\renewcommand{\notesname}{پانویس‌ها}

\begin{document}
سلسیل%
\endnote{\lr{gd gdg}}
salam. This is a simple text\endnote{\lr{no doubt!}}.
\\ 


\newpage
\notesname
\begin{latin}
\begingroup
\parindent 0pt
\parskip 2ex
\def\enotesize{\normalsize}
\theendnotes
\endgroup
\end{latin}
\end{document}