Re: qtTrId

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
I've had a look at this and would prefer to leave it to a later date.

The feature was added in Qt v4.6 and this is the first time it has been 
asked for.

It makes use of comments embedded in the source code to be fully 
implemented.

The implementation of pylupdate is a very old hack of a very old copy of 
lupdate and I don't like making changes to it. I would much prefer to 
re-implement it in Python which fully parses the code from which the 
translations are being extracted from. That is something for PyQt6.

Phil

On 03/06/2019 13:27, Alexander Rössler wrote:
> Here is more info on ID-based translations:
> https://doc.qt.io/qt-5/linguist-id-based-i18n.html
> 
> The ID-based translation is described as "industrial strength" system 
> for
> internationalization and localization in the Qt documentation.
> 
> Would be great if it would be supported by PyQt.
> 
> Alex
> 
> Am Fr., 24. Mai 2019 um 14:46 Uhr schrieb Alexander Rössler <
> [email protected]>:
> 
>> If anyone is wondering what is qtTrId:
>> https://wiki.qt.io/QtInternationalization
>> It's nowhere to be found in the rest of the documentation, except for 
>> the
>> QML version: https://doc.qt.io/qt-5/qml-qtqml-qt.html#qsTrId-method
>> 
>> Alex
>> 
>> Am Fr., 24. Mai 2019 um 14:42 Uhr schrieb Alexander Rössler <
>> [email protected]>:
>> 
>>> Is the qtTrId function (id-based translation) somewhere exposed in 
>>> PyQt?
>>> 
>>> Thanks,
>>> Alex

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.