PyQt6 and SIP v6 Snapshots Available
phil at riverbankcomputing.com
Fri Oct 16 18:25:46 BST 2020
On 16/10/2020 16:07, Detlev Offenbach wrote:
> Hi Phil,
> I saw while browsing through the sources of the latest snapshot that
> it includes a Python only implementation of pylupdate. Unless I missed
> something this tool seems to extract translation string from Python
> sources only. If this is correct do you intend to add an extractor for
> .ui files as well to be on the same level as the lupdate tool of Qt?
> If that is not the intention and I didn't just miss this, what would
> be the workflow for generation of translatable apps?
Three possibilities I think...
- run pylupdate6 on the generated .py file
- lupdate on the .ui file
- I could add the reading of .ui files to pylupdate6.
The last would be very easy it to do if that makes things easy.
More information about the PyQt