<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Amin,<br>
    <br>
    You should not use python nor update_po.py for that! just use<br>
    msgfmt fa_out.po -o blender.mo<br>
    and copy the blender.mo into the relevant dir
    (2.60/datafiles/locale/fa/LC_MESSAGES) of your blender settings.<br>
    <br>
    Once again, if you want to use the tools into /trunk/po/tools,
    please read that page first:
    <a class="moz-txt-link-freetext" href="http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender">http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender</a><br>
    <br>
    Regards,<br>
    Bastien<br>
    <br>
    Le 20/11/2011 09:26, Amin Babaiepanah a écrit :
    <blockquote
cite="mid:CAAsJ-82o+xbMJPwKQvSiAKSTEJTQuC03-BgESV+WgbUood68Vg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><font face="tahoma,sans-serif">Hello, I'm trying to
          test the translation and having problems to convert .po to
          .mo. I'm using Windows 7 with Python 3.2.</font>
        <div><font face="tahoma,sans-serif"><br>
          </font></div>
        <div><font face="tahoma,sans-serif"><b>To convert the
              translation I made a .bat file like this and it worked
              fine:</b></font></div>
        <div><font face="tahoma,sans-serif">python fa_to_utf.py fa.po
            fa_out.po</font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif"><br>
          </font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif"><b>Now
              when I do something like that to convert .po to .mo it
              always gives error:</b></font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif">python
            update_po.py msgfmt fa_out.po -o blender.mo</font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif"><br>
          </font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif"><b>It
              gives this error:</b></font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif">
            <div>Traceback (most recent call last):</div>
            <div>  File "update_po.py", line 31, in &lt;module&gt;</div>
            <div>    import settings</div>
            <div>ImportError: No module named settings</div>
            <div><br>
            </div>
          </font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif">I
            don't know much </font><span class="Apple-style-span"
            style="font-family: tahoma, sans-serif; ">Python</span><font
            class="Apple-style-span" face="tahoma, sans-serif">. Does
            anybody know what I'm doing wrong?</font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif"><br>
          </font></div>
        <div><font class="Apple-style-span" face="tahoma, sans-serif">Tnx.</font></div>
        <div>
          <div dir="ltr"><br>
            Best regards,<br>
            Amin Babaeipanah<br>
            ---------------------------------------------<br>
            LeoMoon Studios<br>
            <a moz-do-not-send="true" href="http://LeoMoon.com"
              target="_blank">http://LeoMoon.com</a><br>
            <div>
              <div>---------------------------------------------<br>
                <a moz-do-not-send="true" href="http://ArtisGeek.com"
                  target="_blank">http://ArtisGeek.com</a><br>
                <div><a moz-do-not-send="true"
                    href="http://IMDB.to/AMINB" target="_blank">http://IMDB.to/AMINB</a></div>
              </div>
              <div><a moz-do-not-send="true"
                  href="http://LoveIsComix.com" target="_blank">http://LoveIsComix.com</a><br>
                <a moz-do-not-send="true" href="http://PersianRead.com"
                  target="_blank">http://PersianRead.com</a><br>
                ---------------------------------------------</div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bf-translations-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-translations-dev@blender.org">Bf-translations-dev@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-translations-dev">http://lists.blender.org/mailman/listinfo/bf-translations-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>