Results 1 to 2 of 2

Thread: Is there any simple way to store all the strings into seperated files?

  1. #1
    Join Date
    Jul 2010
    Posts
    20
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Is there any simple way to store all the strings into seperated files?

    I'm using Pyqt, so i chose QApplication.translate() to bracket every english strings, and using linguist.exe to translate strings in exported *.ts to other language.

    But now i would like to put all of strings out of source code (even including original strings), is there any simple way to do this?

    sry for my english.

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Is there any simple way to store all the strings into seperated files?

    No, the whole idea of the system is that the source strings are used in-context. You shouldn't be viewing the source texts as being the 'english' translation, although the text has to be good enough to be able to be shown to users as fallback.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

Similar Threads

  1. Replies: 12
    Last Post: 17th June 2009, 05:34
  2. Extracting strings in files
    By ComaWhite in forum Qt Programming
    Replies: 2
    Last Post: 7th October 2008, 00:01
  3. Replies: 2
    Last Post: 3rd July 2008, 01:28
  4. Replies: 5
    Last Post: 8th April 2008, 23:10
  5. Read files with strings and doubles
    By thebra in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2007, 20:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.