Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Can I use different display_name for different languages?
QtWS25 Last Chance

Can I use different display_name for different languages?

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 2.8k 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.
  • O Offline
    O Offline
    owenzhao
    wrote on last edited by
    #1

    I just want to translate my app's display_name in phones, depending on what the language using in the phone.
    But I donot know if it is possible and how to setting in my app.pro file.

    Thank you.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Which OS are you targeting?

      1 Reply Last reply
      0
      • O Offline
        O Offline
        owenzhao
        wrote on last edited by
        #3

        Symbian^3, Symbian Anna, Nokia Belle。

        1 Reply Last reply
        0
        • M Offline
          M Offline
          miksuh
          wrote on last edited by
          #4

          Yes, it is possible to localize the display_name. You need to add this into your .pro file:
          @symbian {
          CONFIG += localize_deployment
          }@
          After that localization is done the same way as localization of the application UI. Use the lupdate to generate .ts filles and use Qt Linguist to edit those.

          The .ts files must have an underscore and Qt language code at the end of the filename body to be compatible with deployment localization. E.g:
          @TRANSLATIONS += myapp_en.ts myapp_fi.ts@
          lupdate will generate these entries into .ts files:

          • Application short caption
          • Application long caption
          • Package name
          • Smart installer package name
          1 Reply Last reply
          0
          • O Offline
            O Offline
            owenzhao
            wrote on last edited by
            #5

            Thank you. I will try this.

            1 Reply Last reply
            0

            • Login

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