Important: Please read the Qt Code of Conduct -

Translation using PyQt and Pylupdate5

  • Hello everyone,
    I'm currently working on a project using PyQt5, and I have some trouble figuring out how to correctly translate strings. Pylupdate (script generating the .ts files) seems to only detect strings such as _translate("group", "string").
    So my question is : is there any way, using PyQt, to handle plurals and dynamic strings automatically (cause QtLinguist is great ^^) ?
    Wish you a great day

Log in to reply