\documentclass{report}

% بسته ای برای تنظیم حاشیه صفحات
\usepackage[top=3cm, bottom=2.5cm, left=2cm, right=2.5cm]{geometry}

% بسته ای برای تولید bookmark‌ در فایل pdf‌ و hyperlink کردن لینک های موجود در متن
\usepackage{hyperref}
\usepackage[xindy]{glossaries} 
\usepackage{xepersian}

\hypersetup{ 
pdfmenubar=false, pdfstartview=FitH, pdfpagemode=FullScreen,colorlinks=true,linkcolor=blue, anchorcolor=green, citecolor=magenta, urlcolor=cyan, filecolor=magenta, pdftoolbar=true, pdfpagemode=UseOutlines,
}

%style=listgroup,nonumberlist
\newglossarystyle{mylistFa}{
\glossarystyle{list}
\renewenvironment{theglossary}{}{}
\renewcommand*{\glossaryheader}{}
\renewcommand*{\glsgroupheading}[1]{\section*{\glsgetgrouptitle{##1}} }
\renewcommand*{\glsgroupskip}{}
\renewcommand*{\glossaryentryfield}[5]     {\noindent\glstarget{##1}{##2}\dotfill \space ##3 \\}
\renewcommand*{\glossarysubentryfield}[6]{\glossaryentryfield{##2}{##3}{##4}{##5}{##6}}
}

\newglossarystyle{mylistLa}{
\glossarystyle{list}
\renewenvironment{theglossary}{}{}
\renewcommand*{\glossaryheader}{}
\renewcommand*{\glsgroupheading}[1]{\begin{LTR} \section*{\lr{\glsgetgrouptitle{##1}}} \end{LTR}}
\renewcommand*{\glsgroupskip}{}
\renewcommand*{\glossaryentryfield}[5]     {\noindent\glstarget{##1}{##3}\dotfill \space ##2 \\}
\renewcommand*{\glossarysubentryfield}[6]{\glossaryentryfield{##2}{##3}{##4}{##5}{##6}}
}

% تعریف دو نمونه واژه نامه
\newglossary[glg]{latin}{gls}{glo}{واژه‌نامه انگلیسی به فارسی}
\newglossary[blg]{persian}{bls}{blo}{واژه‌نامه فارسی به انگلیسی}

% توسط این دستور واژه مورد نظر در متن، در هر دو واژه نامه و پاورقی می آید.
\newcommand{\inpdic}[2]{
	\newglossaryentry{fa-#1}{type=persian,name={#1}, sort={#1},description=\lr{#2}}\gls{fa-#1}\LTRfootnote{#2}
	\newglossaryentry{la-#1}{type=latin,name=\lr{#2}, sort={#2},description={#1}}\glsuseri{la-#1}
}

% توسط این دستور واژه مورد نظر در متن، در هر دو واژه نامه  می آید.
\newcommand{\indic}[2]{
	\newglossaryentry{fa-#1}{type=persian,name={#1}, sort={#1},description={\lr{#2}}}\gls{fa-#1}
	\newglossaryentry{la-#1}{type=latin,name={\lr{#2}}, sort={#2},description={#1}}\glsuseri{la-#1}
}

% توسط این دستور واژه مورد نظر، فقط در هر دو واژه نامه  می آید.
\newcommand{\ingls}[2]{
	\newglossaryentry{fa-#1}{type=persian,name={#1}, sort={#1},description={\lr{#2}}}\glsuseri{fa-#1}
	\newglossaryentry{la-#1}{type=latin,name=\lr{#2}, sort={#2},description={#1}}\glsuseri{la-#1}
}
\makeglossaries
\glsdisablehyper


\begin{document}



\inpdic{لاتک}{\LaTeX}
\inpdic{زی‌پرشین}{\XePersian}
\inpdic{زی‌لاتک}{\XeLaTeX}
\inpdic{زی‌تک}{\XeTeX}


%\indic{زی‌پرشین}{\XePersian}
%\indic{لاتک}{\LaTeX}
%\indic{زی‌لاتک}{\XeLaTeX}



%\ingls{لاتک}{\LaTeX}
%\ingls{‌زی‌پرشین}{\XePersian}
%\ingls{زی‌لاتک}{\XeLaTeX}




%%%%%%%%%%%%%%%%%%%%%%%%%

\baselineskip=.75cm
\twocolumn{$ $}
\glossarystyle{mylistLa}
\printglossary[type=latin]

\clearpage
\phantomsection
\glossarystyle{mylistFa}
\printglossary[type=persian]

\end{document}


