<div dir="ltr">with<br><br>\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}<br><br>I can localise any kind of environment. For example, to localise abstract environment I can say,<br>
<br>\eqenvironment{چکیده}{abstract}<br><br>but I do not know why this does not work for verbatim:<br><br>\eqenvironment{ورباتیم}{verbatim}<br><br>gives the following error:<br><br>
<style type="text/css">p, li { white-space: pre-wrap; }</style>
<p style="margin: 0px; text-indent: 0px;">Runaway argument?</p>
<p style="margin: 0px; text-indent: 0px;">^^M^^M\پایان{کلمهبهکلمه}^^M\پایان{نوشتا\ETC.</p>
<p style="margin: 0px; text-indent: 0px;">! File ended while scanning use of \@xverbatim.</p>
<p style="margin: 0px; text-indent: 0px;"><inserted text> </p>
<p style="margin: 0px; text-indent: 0px;"> \par </p>
<p style="margin: 0px; text-indent: 0px;"><*> test.tex</p>
<p style="margin: 0px; text-indent: 0px;"> </p>
<p style="margin: 0px; text-indent: 0px;">? </p><br clear="all"><br>-- <br><div dir="ltr">I prefer the most bloodcurdling death to living with humility. The only country I am faithful to, is IRAN. Do not denigrate my last moments...<br>
</div><br>
</div>