Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.14, 6.5.0
-
None
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.