You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After starting dupeguru on Linux and opening the options dialog the initial selected language is Armenian (shown on top of list). After restart the interface is unreadable for the people who doesn't now this language.
To Reproduce
Move or delete dupeguru settings files (located in .local/share/Hardcoded Software and .config/Hardcoded Software) if not running for first time
Start dupeguru and open options dialog
(optionally) Click on display tab and observe current setting
Click ok and restart dupeguru
Observe interface to be appearing not in the language shown previously
Close dupeguru, delete settings files, start dupeguru and then restart it, observe language is correct
Expected behavior
Language in settings dialog should be set to system or to English as a fallback. First language in the list (Armenian) should not be selected by default.
Screenshots
Desktop:
OS: Ubuntu Linux 20.04 LTS, with Proposed repository enabled
No meaningful information was found in debug log, only single line (output not localized, adding LC_ALL=C before command line avoids that, default language in settings dialog is unchanged) 2022-03-12 10:03:52,488 - WARNING - Error while loading /home/juozas/.local/share/Hardcoded Software/dupeGuru/exclude_list.xml: [Errno 2] No such file or directory: '/home/juozas/.local/share/Hardcoded Software/dupeGuru/exclude_list.xml'
The text was updated successfully, but these errors were encountered:
In your case the program does try to fall-back to the system language lt_LT, however that language is unsupported and there is no handling around that case.
@arsenetar the fix generally works. The exception is a small warning in debug log: 2022-03-12 14:30:16,646 - WARNING - Couldn't set locale en.UTF-8 locale -a outputs list as shown below.
Yeah that warning is fine (in the sense there is not much to do about it), depending on which locales are installed on the system it may or may not be able to set the locale correctly, the translations themselves will work regardless.
Describe the bug
After starting dupeguru on Linux and opening the options dialog the initial selected language is Armenian (shown on top of list). After restart the interface is unreadable for the people who doesn't now this language.
To Reproduce
.local/share/Hardcoded Software
and.config/Hardcoded Software
) if not running for first timeExpected behavior
Language in settings dialog should be set to system or to English as a fallback. First language in the list (Armenian) should not be selected by default.
Screenshots
Desktop:
Additional context
Output of
locale
command:No meaningful information was found in debug log, only single line (output not localized, adding LC_ALL=C before command line avoids that, default language in settings dialog is unchanged)
2022-03-12 10:03:52,488 - WARNING - Error while loading /home/juozas/.local/share/Hardcoded Software/dupeGuru/exclude_list.xml: [Errno 2] No such file or directory: '/home/juozas/.local/share/Hardcoded Software/dupeGuru/exclude_list.xml'
The text was updated successfully, but these errors were encountered: