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. Load different text files depending on language
Forum Update on Monday, May 27th 2025

Load different text files depending on language

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 623 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.
  • N Offline
    N Offline
    NinaWeber
    wrote on 17 Feb 2016, 09:32 last edited by
    #1

    I am currently getting to know QT Linguist and have a question now. I have different text files depending on the language. They contain error codes and error descriptions which I load depending on the error I receive. How can I load the correct textfile depending on the current language?
    Thanks for your help!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 17 Feb 2016, 12:53 last edited by
      #2

      Hi
      Maybe this can provide some tips
      http://www.informit.com/articles/article.aspx?p=1405555&seqNum=3

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 17 Feb 2016, 23:06 last edited by
        #3

        Hi,

        To add to @mrjj, there's also the QFileSelector class that could be of interest.

        Hope it helps

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        1/3

        17 Feb 2016, 09:32

        • Login

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