Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.6, 6.7.1
-
a8a091694 (dev), eda9675eb (6.8), 2bd4f8b80 (6.7), 3d9c69047 (tqtc/lts-6.5)
Description
A sample .ts file is uploaded. Loading it into Linguist from Qt5/6 yields different results:
Qt5 Linguist: all good
Qt6 Linguist: broken plural rules (see screenshot)
The issue is language tag:
<TS version="2.1" language="en-US">
"en-US" is separated by dash. Replacing dash with underscore solves the problem.
Nevertheless, Linguist should be able to handle both dash and undrescore. Qt6 Linguist is more or less broken. Possible related commit:
https://codereview.qt-project.org/c/qt/qttools/+/343860
Attachments
Issue Links
- relates to
-
QTBUG-112765 Create QLocaleSelector
- Open