<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Nope, not yet… But as I guess you ask for it… Shouldn’t be hard to
    code this :)<br>
    <br>
    Cheers,<br>
    Bastien<br>
    <br>
    Le 17/11/2011 20:52, Yousef Hurfoush a écrit :
    <blockquote cite="mid:BAY152-W12134CAF8F52AA62320FC0E0C70@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        <font style="font-size:10pt;" size="2"><b><br id="FontBreak">
          </b></font>thanks now it works, :)<br>
        <br>
        another thing:<br>
        do you have a way to split the po file into translated and
        untranslated po's?<br>
        <br>
        <br>
        <div align="left"><font style="font-size:10pt" color="#000000"
            face="Tahoma" size="2"><strong>Regards</strong></font><br>
          <font style="font-size:10pt" color="#000000" face="Tahoma"
            size="2"><strong>Yousef Harfoush<br>
            </strong></font><br>
          <font style="font-size:10pt" color="#000000" face="Tahoma"
            size="2"><a moz-do-not-send="true"
              href="mailto:bat3a@msn.com"><font style=""><strong>bat3a@msn.com</strong></font></a></font><br>
        </div>
        <br>
        <br>
        <div>
          <hr id="stopSpelling">Date: Thu, 17 Nov 2011 19:47:40 +0100<br>
          From: <a class="moz-txt-link-abbreviated" href="mailto:montagne29@wanadoo.fr">montagne29@wanadoo.fr</a><br>
          To: <a class="moz-txt-link-abbreviated" href="mailto:bf-translations-svn@blender.org">bf-translations-svn@blender.org</a><br>
          Subject: Re: [Bf-translations-svn] merge_po errors!<br>
          <br>
          <meta http-equiv="Content-Type" content="text/html;
            charset=UTF-8">
          <meta name="Generator" content="Microsoft SafeHTML">
          Hi Yousef,<br>
          <br>
          Yes, I coded (or at least, updated) that script using py3k, so
          it's very unlikely to work with any py2 interpreter (among
          other things, py3k assumes scripts are written in utf-8, if
          not said otherwise ;) )...<br>
          <br>
          The settings module import was not necessary, I just removed
          it from that script. But you should note this script is no
          more standalone, it needs at least the utils.py file found in
          the same directory... And that module needs settings.py! Let
          me put a reminder about that page: <a moz-do-not-send="true"
            class="ecxmoz-txt-link-freetext"
href="http://wiki.blender.org/index.php/Dev%3a2.5/Doc/How_to/Translate_Blender"
            target="_blank">http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender</a>
          , which documents all i18n tools. It states that before using
          the scripts in /po/tools, you must copy and rename
          settings_template.py into settings.py, and optionally edit its
          values (but that should not be necessary if you only use
          merge_po.py).<br>
          <br>
          I hope all this will help you! :)<br>
          <br>
          Regards,<br>
          Bastien<br>
          <br>
          Le 17/11/2011 18:23, Yousef Hurfoush a écrit :
          <blockquote
            cite="mid:BAY152-W20A257C59EE699D50C58D3E0C70@phx.gbl">
            <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
            <div dir="ltr"> <font style="font-size:10pt" size="2"><b><br
                    id="ecxFontBreak">
                </b></font><br>
              <div>
                <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
                <div dir="ltr"> <font style="font-size:10pt" size="2"><b>hi<br>
                      <br>
                      i tried to use the merge_po.py script in tools to
                      merge my po-s with ar.po and got this error:<br>
                    </b><i>File
                      "Z:\Development\blender\BatProject\Gettext\merge_po.py",
                      <br>
                      line 25 SyntaxError: Non-ASCII character '\xe2' in
                      file merge_po.py on line 25, but no encoding
                      declared; see <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-freetext"
                        href="http://www.pytho" target="_blank">http://www.pytho</a><br>
                      n.org/peps/pep-0263.html for details</i><b><br
                        id="ecxFontBreak">
                    </b></font><font style="font-size:10pt" size="2"><b><br>
                      the command i used (</b><i>merge_po.py ar.po
                      phase3.po</i><b>)</b></font><br>
                  <br>
                  <b>so as advised by the later page i added to merge_po
                    the next line:</b><br>
                  # -*- coding: utf-8 -*-<br>
                  <br>
                  <b>and the error is gone, but now i get the next
                    error:<br>
                  </b>File "merge_po.py", line 34, in &lt;module&gt;   
                  import settings<br>
                  ImportError: No module named settings<br>
                  <br>
                  <b>can anyone help me with this? i used this script
                    before and it worked OK!<br>
                    i use windows 7 x64 and python 2.6 x86 and x64,
                    should i install the 3.2 one?<br>
                  </b><br>
                  <br>
                  <div align="left"><font style="font-size:10pt"
                      color="#000000" face="Tahoma" size="2"><strong>Regards</strong></font><br>
                    <font style="font-size:10pt" color="#000000"
                      face="Tahoma" size="2"><strong>Yousef Harfoush<br>
                      </strong></font><font style="font-size:10pt"
                      color="#000000" face="Tahoma" size="2"><a
                        moz-do-not-send="true"
                        href="mailto:bat3a@msn.com"><font style=""><strong>bat3a@msn.com</strong></font></a></font><br>
                  </div>
                </div>
              </div>
            </div>
            <br>
            <fieldset class="ecxmimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
Bf-translations-svn mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Bf-translations-svn@blender.org">Bf-translations-svn@blender.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-translations-svn" target="_blank">http://lists.blender.org/mailman/listinfo/bf-translations-svn</a>
</pre>
          </blockquote>
          <br>
          <br>
          _______________________________________________
          Bf-translations-svn mailing list
          <a class="moz-txt-link-abbreviated" href="mailto:Bf-translations-svn@blender.org">Bf-translations-svn@blender.org</a>
          <a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-translations-svn">http://lists.blender.org/mailman/listinfo/bf-translations-svn</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bf-translations-svn mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-translations-svn@blender.org">Bf-translations-svn@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-translations-svn">http://lists.blender.org/mailman/listinfo/bf-translations-svn</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>