×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    27

    QML native language support??

    hi everyone
    i wanna to port my application in Persian language.(e.g string play means "بازی" etc) please let me know is qt supported for this ?
    thanks advance
    Last edited by m.azeemanwar; 2012-06-20 at 07:03.

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: QML native language support??

    Hi,
    Qt/QML support localization check here for more details.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Regular Contributor
    Join Date
    Mar 2012
    Posts
    144

    Re: QML native language support??

    my 2 cents
    there is some tweaks you have to do for translation in QML:
    any qml file you want to be scanned by lupdate utility have to be added to SOURCES item in .pro file:
    hack_for_linguist {
    SOURCES += qml/main.qml
    }
    "hack_for_linguist" requred for fool build system

    all the rest is written in the docs

  4. #4
    Registered User
    Join Date
    Sep 2012
    Posts
    23

    Re: QML native language support??

    Hi

    I have found this link as well
    http://qt-project.org/wiki/How_to_cr...ge_application

    However, coming from MS Dev and C# I sincerely hope that above link and the following
    http://qt-project.org/wiki/Qt-Localization

    for sure describe some extreme special cases that , at maximum, 5 people on this planet ever get use of.
    However if it is so that Qt need a process including usage of using lconvert, lupdate, linguist, lrelease, .ts and .qm files etc.
    just to archive multi language applications, this is truly and utter complete and sincerely BS.

    I have never ever seen any more complicated rubbish to archive a multi lingual application,
    it is way way way way easier to solve itself by creating your own reading algorithms from text files
    or even use your own Xml files, such as C# is working in MS dev.

    I recently bought a N9 and is at the moment taking the time to learn and use Qt to write an
    application for the N9 but this total insane handling of multi languages for an application is making
    me thinking twice of even make a "hello world" program.

    Regards
    /Stefan

  5. #5
    Registered User
    Join Date
    Jun 2012
    Posts
    105

    Re: QML native language support??

    In case you work on windows, remember to save your qml files as UTF8!

Similar Threads

  1. Changing the native language
    By kumarv75 in forum Mobile Java General
    Replies: 1
    Last Post: 2011-07-14, 08:15
  2. native language support in j2me
    By bejoy_ak in forum Mobile Java General
    Replies: 2
    Last Post: 2010-01-08, 11:24
  3. Support for native Symbian S60 applications
    By raimoo in forum [Closed] Publishing to Nokia Store
    Replies: 6
    Last Post: 2009-02-16, 18:46
  4. s40 native language
    By hryszek in forum General Development Questions
    Replies: 7
    Last Post: 2008-12-10, 14:43
  5. [Moved] Native ringtone support with VAS
    By ruchirvasavada in forum VoIP
    Replies: 1
    Last Post: 2008-12-01, 01:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×