×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    44

    Question where to translate something like select and cancel that only exists in symbian?

    Hello, everyone. I am using Qt Creator to create a ui file with QcomboBox in it. However, unlike apps in Windows or Linux, in Symbian phones, when you point the QcomboBox, the phone will automatically show two menus (select, cancel).
    So my question is where I can translate the select and cancel in my own language? I use lupdate and do not get what I want.

    Any suggestions?

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    8

    Re: where to translate something like select and cancel that only exists in symbian?

    Hi

    the 2 options that you get when you make QcomboBox ie select and cancel is language dependent. So if you change the language of the phone or emulator to your desired language the 2 options will also change to in the desired language.

    Thanks

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    44

    Re: where to translate something like select and cancel that only exists in symbian?

    I really hope so. I am using a N8, which is HongKong version, and the language I am using is Chinese, and the two menus are English which are definitely not my language.
    Any more suggestion?

  4. #4
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: where to translate something like select and cancel that only exists in symbian?

    These are supposed to be translated in Qt
    http://qt.gitorious.org/qt/qt/blobs/...CN.ts#line1060

    This is place from there these strings seems to be coming
    http://qt.gitorious.org/qt/qt/blobs/...ger.cpp#line63
    so their context is QSoftKeyManager.

    If you check other translations you will see that they are available in at least these:
    qt_cs.ts, qt_de.ts, qt_fr.ts, qt_gl.ts, qt_hu.ts, qt_ja.ts, qt_pl.ts, qt_ru.ts, qt_sl.ts, qt_uk.ts.
    But none of Chinese version translates them.
    Last edited by divanov; 2011-01-20 at 08:29.

  5. #5
    Registered User
    Join Date
    Nov 2008
    Posts
    44

    Re: where to translate something like select and cancel that only exists in symbian?

    Thank you. If I translate that, how can I upload my translation to qt so that someone like me need not to translate it again?

  6. #6
    Registered User
    Join Date
    Nov 2008
    Posts
    44

    Cool Re: where to translate something like select and cancel that only exists in symbian?

    Anyone has power please add this to qt_zh_CN.ts. I translate it myself. Thank you.
    Code:
    <context>
        <name>QSoftKeyManager</name>
        <message>
            <source>Ok</source>
            <translation type="unfinished">确定</translation>
        </message>
        <message>
            <source>Select</source>
            <translation type="unfinished">选择</translation>
        </message>
        <message>
            <source>Done</source>
            <translation type="unfinished">完成</translation>
        </message>
        <message>
            <source>Options</source>
            <translation type="unfinished">选项</translation>
        </message>
        <message>
            <source>Cancel</source>
            <translation type="unfinished">取消</translation>
        </message>
        <message>
            <source>Exit</source>
            <translation type="unfinished">退出</translation>
        </message>
    </context>

  7. #7
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326
    You can add it as a comment to a bug
    http://bugreports.qt.nokia.com/browse/QTBUG-16766
    Last edited by divanov; 2011-01-21 at 12:57.

Similar Threads

  1. How to change Select-Cancel cba text at runtime?
    By amar_wagholikar in forum Symbian
    Replies: 8
    Last Post: 2010-08-18, 07:49
  2. Can i translate a Symbian 9.1 App?
    By IMPACT in forum Symbian Tools & SDKs
    Replies: 17
    Last Post: 2010-02-04, 14:31
  3. Replies: 4
    Last Post: 2007-11-22, 11:11
  4. how to change text of "select" and "cancel" button of menu system
    By bigboy0918 in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-11-21, 06:44
  5. select cancel cba button
    By bsteeb@gmx.de in forum Symbian
    Replies: 2
    Last Post: 2005-01-12, 12:21

Posting Permissions

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