Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99531

On Some Android device Default locale and System locale are different.

    XMLWordPrintable

    Details

    • Platform/s:
      Android

      Description

      On Some Android device (for example Samsung S10) Default locale and system locale name prints different if language settings has been chosen which says in note "May not be available in some apps" (attached screenshot)

       

      Steps:

      Go to 'Language settings'

      • Choose a language that has a note "May not be available in some
        apps" (e.g. Russian)
      • Print Following code snippet in main :
        qDebug()<<QLocale::system().name(); // prints "en_US"
        qDebug() << QLocale().name(); //"en_US"
        qDebug() << locale.uiLanguages().at(0); //"el-CY"
        

         

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Eddy Edward Welbourne
            Reporter:
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes