<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Le 19/02/12 19:55, <a 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>
<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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</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<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>