<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
<p>On 19/02/2012 09:55 م, Vincent Vande Vyvre wrote:
<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>
</p>
<p>I don't want to use .pro because I've many files in many
subdirecories which is very exhausting to write manually.</p>
<p><br>
</p>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: <a class="moz-txt-link-freetext" href="http://mbnoimi.net">http://mbnoimi.net</a></pre>
</body>
</html>