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. Get english Translation
Qt 6.11 is out! See what's new in the release blog

Get english Translation

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 854 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    My application is internationalized, however, in some circumstances I need the English version of the string no matter what translator is being used.
    Anyone have any suggestions on how to achieve this?

    Thanks

    1 Reply Last reply
    0
    • jeremy_kJ Offline
      jeremy_kJ Offline
      jeremy_k
      wrote on last edited by
      #2

      Without details regarding the circumstances, some options I see, in the order of least to most effort are:

      1. Don't mark the text for translation
      2. Don't provide a translation for the text
      3. Provide the same translation for all languages

      Asking a question about code? http://eel.is/iso-c++/testcase/

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on last edited by
        #3

        In addition to jeremy_k
        May be using context and or disambiguation may help here see "QCoreApplication::translate()":http://qt-project.org/doc/qt-5/qcoreapplication.html#translate for more details.

        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