Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.5 - won't use show some Qt translations
QtWS25 Last Chance

Qt 5.5 - won't use show some Qt translations

Scheduled Pinned Locked Moved General and Desktop
qt 5.5translationsmacwindows
1 Posts 1 Posters 990 Views
  • 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.
  • W Offline
    W Offline
    Will
    wrote on 30 Sept 2015, 18:10 last edited by
    #1

    I'm moving an existing app from Qt 5.2 to 5.5. It is localized into several different languages.

    At startup I load my own localized .qm translation files, as well as the Qt UI files (e.g. qt_xx.qm). QTranslator loads and installs them without error.

    However for some languages I don't see translations for basic things like "Save", "Discard", "Close" buttons in a standard QMessageBox.

    German and Russian are fine, but Spanish and Chinese don't show the Qt translations. I have tied both building the .qm files into my app's resources, and as separate /languages/ folder. Both with the same results.

    However on the Mac version I do see the translations in my app's menu on Mac for things like "Hide app" - so I know at least the translations are loaded.

    Anyone have any ideas on this?

    i know for some languages the translation files (such as "qt_it.qm") are empty and the translations are in "qtbase_xx.qm". I'm using those when available. Also tried using the windeployqt to copy the qm files for me.

    1 Reply Last reply
    0

    1/1

    30 Sept 2015, 18:10

    • Login

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