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. Add New Localisation Language to Qt6
Forum Updated to NodeBB v4.3 + New Features

Add New Localisation Language to Qt6

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 148 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.
  • L Offline
    L Offline
    Luganda01
    wrote on last edited by
    #1

    Hello,

    The instructions in the wiki Qt Localization show how to update or add to translations for existing languages in Qt5 and Qt6. However they only show how to begin translations for a new language in Qt5 but not in Qt6.
    If I attempt to use

    make ts-untranslated
    

    it returns

    make: *** No rule to make target 'ts-untranslated'.  Stop.
    

    The instruction

    cd qttranslations; <qt-installation>/bin/qt-cmake . -G Ninja; ninja ts-<lang>
    

    seems to be clearly for an existing language. If I run it with 'ts-untranslated' it returns

    -- Configuring done (0.8s)
    -- Generating done (0.1s)
    -- Build files have been written to: /home/muwawa/nls/Ebikyusibwa/Qt/build/qt6/qttranslations
    ninja: error: unknown target 'ts-untranslated'
    

    It gives similar output if I run it with 'ts-lg', where 'lg' is the two letter code for the language (Luganda) that I wish to start translating into.
    Could somebody advise me of the correct way to add a new language in Qt6 please?
    I am using Qt 6.7.3.

    Regards,

    Kizito

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Luganda01
      wrote on last edited by
      #2
      This post is deleted!
      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