<div dir="ltr">Hi all,<div>following Jonas suggestion to use pylupdate5 script, I finally found a possible solution.</div><div>I have created a .bat file with the following lines (probably are obvious for most of the dev community ;-)):</div><div><br></div><div>@echo off<br>call "C:\OSGeo4W64\bin\o4w_env.bat"<br>call "C:\OSGeo4W64\bin\qt5_env.bat"<br>call "C:\OSGeo4W64\bin\py3_env.bat"<br><br>@echo on<br>pylupdate5 myPlugin.pro<br></div><div><br></div><div>The .bat file creates the .ts file correctly and then I modified and released it with Qt Linguist.</div><div><br></div><div>Hope this helps!</div><div><br></div><div>Roberta</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 20 giu 2019 alle ore 10:16 DelazJ <<a href="mailto:delazj@gmail.com">delazj@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div>Hi<br><div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2019 at 9:11 AM matteo <<a href="mailto:matteo.ghetta@gmail.com" target="_blank">matteo.ghetta@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Hi Matteo,<br>
> thank you for the help, your solution works fine in linux. Do you know<br>
> if something similar exists for Windows?<br>
<br>
make transup and make transcompile just call bash scripts..... not sure<br>
what the workaround could be in Windows. Doesn't Windows have a kind of<br>
linux bash integrated?<br>
<br></blockquote></div></blockquote><div>Yes, I think. Cygwin [0] and alike are designed for that.</div><div>But I think the osgeo4w.bat file under the osgeo4w install folder should be enough. From what I can see, I can run bash commands inside (at least it recognize "make" commands that the usual Windows cmd.exe ignores).<br></div><div><br> </div><div>[0] <a href="https://www.cygwin.com/" target="_blank">https://www.cygwin.com/</a></div><div><br></div><div>Regards,</div><div>Harrissou</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Matteo<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-8228310831183471717gmail-m_-8043129941527768209gmail_signature">Ismail Sunni<br><div><a href="http://ismailsunni.wordpress.com" target="_blank">ismailsunni.wordpress.com</a></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>