<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Le 26/02/12 15:16, <a class="moz-txt-link-abbreviated" href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a> a écrit :
    <blockquote cite="mid:4F4A3ECC.50901@mbnoimi.net" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
      <p>On 19/02/2012 09:55 م, Vincent Vande Vyvre wrote: </p>
      <blockquote cite="mid:4F415399.5010505@swing.be" type="cite">
        <meta content="text/html; charset=UTF-8"
          http-equiv="Content-Type">
        <title></title>
        Le 19/02/12 19:55, <a moz-do-not-send="true"
          class="moz-txt-link-abbreviated"
          href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a> a
        écrit :
        <blockquote cite="mid:4F414586.4010205@mbnoimi.net" type="cite">
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
          <p>On 19/02/2012 08:22 م, <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a>
            wrote: </p>
          <blockquote cite="mid:4F413DC8.4060700@mbnoimi.net"
            type="cite">
            <meta http-equiv="content-type" content="text/html;
              charset=UTF-8">
            <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
            <p>Hi all,</p>
            <p><br>
            </p>
            <p>I tried to create *.ts file for my project by using
              pylupdate4 so I tried the following commad but it didn't
              work!</p>
            <p><br>
            </p>
            <pre><pre>pylupdate4 *.py -ts %CD%\ui\l10n\ar.ts
pylupdate4 error: Cannot open file '*.py': No error
</pre></pre>
            <p><br>
            </p>
            <p>Could you please guide me to the correct path?</p>
            <p><br>
            </p>
            <p>PS</p>
            <p>I successfully created *.ts file for single *.py file.<br>
            </p>
          </blockquote>
          <p><br>
          </p>
          <p>I forgot to mention that I want to create single *.ts file
            for many *.py files<br>
          </p>
          <br>
        </blockquote>
        You must provide a .pro file to pyludate4<br>
        <br>
        exemple of .pro file<br>
        <br>
        SOURCES    = main.py\<br>
                                ui_mainWindow.py\<br>
                                otherFile.py\<br>
                                etc<br>
        <br>
        TRANSLATIONS    = appName_ar.ts<br>
        <br>
        CODECFORTR      = UTF-8<br>
        <br>
        CODECFORSRC     = UTF-8</blockquote>
      <br>
      <p style="direction: ltr;">I don't want to use .pro because I've
        many files in many subdirecories which is very exhausting to
        write manually.</p>
      <br>
      Any ideas guys?<br>
      <p><br>
      </p>
      <pre class="moz-signature" cols="72">-- 
Best Regards
Muhammad Bashir Al-Noimi
My Blog: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mbnoimi.net">http://mbnoimi.net</a></pre>
    </blockquote>
    So, <span style="" class="systran_seg" id="Sp1.s2_o"><span style=""
        class="systran_token_word" value="7070/pron" id="p1.t2_1">You</span>
      <span style="" class="systran_token_word" value="0808/verb:plain"
        id="p1.t2_2">can</span> <span class="systran_altmeaning"
        value="<reference>facilement7f7f</reference><choice
        value='altmeaning-,-51732,-,100'>[at least] (Dictionnaire
        alternatif SYSTRAN)</choice><choice value='_main,0'
        default='yes'>[easily] (Général)</choice><choice
        value='altmeaning-,-51734,-,100'>[effortlessly] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-51735,-,100'>[readily] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-51736,-,100'>[without difficulty]
        (Dictionnaire alternatif
        SYSTRAN)</choice><source>facilement</source>"
        id="altmeaning_1"><span class="systran_token_word"
          value="3030/adv" id="p1.t2_3">easily</span></span> <span
        class="systran_altmeaning"
        value="<reference>écrire7f30</reference><choice
        value='altmeaning-,-42886,-,100'>[correspond] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-42887,-,100'>[exchange letters]
        (Dictionnaire alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-42888,-,100'>[spell] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-42889,-,100'>[write down] (Dictionnaire
        alternatif SYSTRAN)</choice><choice value='_main,0'
        default='yes'>[write]
        (Général)</choice><source>écrire</source>"
        id="altmeaning_2"><span class="systran_token_word"
          value="4848/verb:inf" id="p1.t2_4">write</span></span> <span
        class="systran_token_word" id="p1.t2_0">a</span> python <span
        class="systran_altmeaning"
        value="<reference>script310</reference><choice
        value='altmeaning-,-111032,-,100'>[printing] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-111033,-,100'>[scrip] (Dictionnaire
        alternatif SYSTRAN)</choice><choice value='_main,0'
        default='yes'>[script]
        (Général)</choice><source>script</source>"
        id="altmeaning_3"><span class="systran_token_word"
          value="1010/noun:common" id="p1.t2_6">script</span></span> <span
        class="systran_token_word" value="7c7c/pron" id="p1.t2_7">which</span>
      <span class="systran_altmeaning"
        value="<reference>créer7f30</reference><choice
        value='_main,0' default='yes'>[create]
        (Général)</choice><choice
        value='altmeaning-,-30722,-,100'>[design] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-30723,-,100'>[found] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-30724,-,100'>[initiate] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-30725,-,100'>[originate] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-30726,-,100'>[produce for the first time]
        (Dictionnaire alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-30727,-,100'>[style] (Dictionnaire
        alternatif
        SYSTRAN)</choice><source>créera</source>"
        id="altmeaning_4"><span class="systran_token_word"
          value="0404/verb:plain*" id="p1.t2_8">will create</span></span>
      <span class="systran_token_word" id="p1.t2_0">the</span> <span
        class="systran_altmeaning"
        value="<reference>fichier310</reference><choice
        value='altmeaning-,-53652,-,100'>[card index] (Dictionnaire
        alternatif SYSTRAN)</choice><choice
        value='altmeaning-,-53653,-,100'>[catalogue] (Dictionnaire
        alternatif SYSTRAN)</choice><choice value='_main,0'
        default='yes'>[file] (Général)</choice><choice
        value='altmeaning-,-53655,-,100'>[filing cabinet]
        (Dictionnaire alternatif
        SYSTRAN)</choice><source>fichier</source>"
        id="altmeaning_5"><span class="systran_token_word"
          value="1010/noun:common" id="p1.t2_10">.pro file</span></span>
      <span class="systran_token_word" value="5050/prep" id="p1.t2_11">for</span>
      <span style="" class="systran_token_word" value="7477/pron"
        id="p1.t2_12">you</span><span style=""
        class="systran_token_punctuation" id="p1.t2_13">.</span></span>
    No?<br>
    <br>
    <div class="moz-signature">-- <br>
      Vincent V.V.<br>
      <a href="https://launchpad.net/oqapy">Oqapy</a> . <a
        href="https://launchpad.net/qarte+7">Qarte+7</a> . <a
        href="https://launchpad.net/paqager">PaQager</a></div>
  </body>
</html>