lmms icon indicating copy to clipboard operation
lmms copied to clipboard

Language setting shows a long~ empty list

Open NORYOM opened this issue 2 years ago • 11 comments

Edit -> Setting When change language will show a long empty list, and I research the folder of locale found the problem.

under \LMMS\data\locale there are many files seems not read as effective language file, so it shows nothing. remove all file which name start with 'qt' out of the folder (\LMMS\data\locale) will resolve this problem.

NORYOM avatar Sep 08 '22 05:09 NORYOM

Screenshot as following:

00 01 02 03 04

NORYOM avatar Sep 08 '22 05:09 NORYOM

Cant reproduce image What version/ What OS?

musikBear avatar Sep 10 '22 14:09 musikBear

Issue persists on Windows version - alpha 1.121. Looks like there is a huge gap from "P" to "R" initials in the list of the languages, and few other names.

anytizer avatar Sep 11 '22 01:09 anytizer

Issue persists on Windows version - alpha 1.121. Looks like there is a huge gap from "P" to "R" initials in the list of the languages, and few other names.

ok, and i have image where its not, but is it at all our executable that is the colpit. It looks like there are a HUGE addition of languages in your installation. I have ..25! image If the new ones you have are 'flawed', then that could perhaps result in the gabs in the list(?)

musikBear avatar Sep 11 '22 16:09 musikBear

image Deleted LMMS Data folder and reinstalled alpha 1.222 build. 2 entries appeared blank.

anytizer avatar Sep 11 '22 22:09 anytizer

Can't replicate on 1.2.0. Can replicate on 1.3 image Two blank entries. Windows 10.

Monospace-V avatar Sep 12 '22 07:09 Monospace-V

This line

https://github.com/LMMS/lmms/blob/master/src/gui/modals/SetupDialog.cpp#L284

Takes the first part of the file name and coverts it to the name of the language ("en" -> "English"). Even if there is no language matching the abbreviation (for example "qt_help..." is no language code) it still adds an empty line to the list.

Question is how did those qt_ files end up in that directory??

allejok96 avatar Sep 13 '22 06:09 allejok96

bug confirmed. i too have this issue on the latest master.

Rossmaxx avatar Sep 14 '22 13:09 Rossmaxx

it happened on win7 and win10, LMMS version is 1.2.2 (win32/x86_64, Qt 5.4.2, GCC 4.9.4 20150716 (prerelease))

Thanks Rossmaxx for confirmed the bug. Thanks allejok96, Monospace-V, anytizer and musikBear join to this bug talking.

NORYOM avatar Sep 16 '22 01:09 NORYOM

Question is how did those qt_ files end up in that directory??

Could they be related to translation work, Qt Linguist?

zonkmachine avatar Sep 16 '22 16:09 zonkmachine

Some further research shows that the 1.2.2 build for windows includes a lot of qt_ file, but that is not the case for 1.2.1 and 1.3. So something slipped in there during the build that shouldn't be there. I don't know why, perhaps Qt Linguist or Creator like zonk said. But it doesn't really matter, since they're not present in 1.3...

The two blank lines you see in 1.3 are for Occitan and Esperanto. Apparently Qt does not provide a nativeLanguageName for them.

allejok96 avatar Sep 17 '22 21:09 allejok96

I have this too on windows 10, version 1.2.2 official download for 64 bit windows

ghost avatar Sep 30 '22 21:09 ghost