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

Urdu language ("ur" locale code) needs basic translation definitions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.14, 6.5.0
    • Translations (l10n)
    • None
    • All

    Description

      Urdu language (https://www.localeplanet.com/icu/ur-IN/index.html) is RTL (right-to-left), so in order to be supported by Qt framework it needs basic translation definition to be present to allow it to be detected as RTL by QGuiApplication:

      QT_LAYOUT_DIRECTION should be translated as string "RTL".

      static bool qt_detectRTLLanguage()
      {
          return force_reverse ^
              (QGuiApplication::tr("QT_LAYOUT_DIRECTION",
                               "Translate this string to the string 'LTR' in left-to-right"
                               " languages or to 'RTL' in right-to-left languages (such as Hebrew"
                               " and Arabic) to get proper widget layout.") == "RTL"_L1);
      }
      

      I checked qttranslations repository, and Urdu files appear to be completely missing on Qt 5 and 6.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            ratijas ivan tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes