Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved Load different text files depending on language

    General and Desktop
    3
    3
    467
    Loading More Posts
    • 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
      NinaWeber last edited by

      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 Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

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

        1 Reply Last reply Reply Quote 1
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 1
          • First post
            Last post