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. Translate default context Menu in QTextEdit [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

Translate default context Menu in QTextEdit [SOLVED]

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 2.3k 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.
  • M Offline
    M Offline
    mourad_bilog
    wrote on last edited by mourad_bilog
    #1

    Hello everybody,

    I've a problem to show the elements of the context Menu in French in QTextEdit. The default qt_fr.qm is already loaded in the application but the element are still show in english.

    Can anyone tell me how to do to show the context Menu elements in French ?

    Best regards.

    1 Reply Last reply
    0
    • SeeLookS Offline
      SeeLookS Offline
      SeeLook
      wrote on last edited by
      #2

      Since Qt 5.3 use qtbase_fr.ts instead.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mourad_bilog
        wrote on last edited by
        #3

        Thanks for replying.

        I'm using 5.5 but I don't found any file named qtbase_fr.ts and I've found any way to generate ts file from the default qt_fr.qm. Can you tell me where I find it ?

        1 Reply Last reply
        0
        • SeeLookS Offline
          SeeLookS Offline
          SeeLook
          wrote on last edited by
          #4

          You may find current translation here:
          http://l10n-files.qt.io/l10n-files/

          It is hard to say why it is not available in Your installation.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mourad_bilog
            wrote on last edited by
            #5

            Many thnaks for your response.

            I found qtbase_fr.ts in https://codereview.qt-project.org/#/c/111230/ and I've modified the QWidget Entry and it works fine.

            Many thanks.

            1 Reply Last reply
            0
            • SeeLookS Offline
              SeeLookS Offline
              SeeLook
              wrote on last edited by
              #6

              Welcome!

              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