Hi all,
following Jonas suggestion to use pylupdate5 script, I finally found a
possible solution.
I have created a .bat file with the following lines (probably are obvious
for most of the dev community ;-)):

@echo off
call "C:\OSGeo4W64\bin\o4w_env.bat"
call "C:\OSGeo4W64\bin\qt5_env.bat"
call "C:\OSGeo4W64\bin\py3_env.bat"

@echo on
pylupdate5 myPlugin.pro

The .bat file creates the .ts file correctly and then I modified and
released it with Qt Linguist.

Hope this helps!

Roberta


Il giorno gio 20 giu 2019 alle ore 10:16 DelazJ <[email protected]> ha
scritto:

>
> Hi
>
>
>> On Thu, Jun 20, 2019 at 9:11 AM matteo <[email protected]> wrote:
>>
>>> > Hi Matteo,
>>> > thank you for the help, your solution works fine in linux. Do you know
>>> > if something similar exists for Windows?
>>>
>>> make transup and make transcompile just call bash scripts..... not sure
>>> what the workaround could be in Windows. Doesn't Windows have a kind of
>>> linux bash integrated?
>>>
>>> Yes, I think. Cygwin [0] and alike are designed for that.
> 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).
>
> [0] https://www.cygwin.com/
>
> Regards,
> Harrissou
>
> Matteo
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> [email protected]
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>> --
>> Ismail Sunni
>> ismailsunni.wordpress.com
>> _______________________________________________
>> QGIS-Developer mailing list
>> [email protected]
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> _______________________________________________
> QGIS-Developer mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to