Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Translation using PyQt and Pylupdate5
Forum Updated to NodeBB v4.3 + New Features

Translation using PyQt and Pylupdate5

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Blue-Panda
    wrote on last edited by
    #1

    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 ^^) ?
    Thanks
    Wish you a great day

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved