Bug 370192 - Better handling of language selection menu entries with Captions tab
Summary: Better handling of language selection menu entries with Captions tab
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Menus (show other bugs)
Version: 5.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-06 11:56 UTC by herb
Modified: 2022-08-22 16:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0


Attachments
menu with many many entries of languages (161.15 KB, image/jpeg)
2016-10-06 11:56 UTC, herb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herb 2016-10-06 11:56:26 UTC
Created attachment 101447 [details]
menu with many many entries of languages

Hello,

I work with digiKam 5.2.0 on a Win 7 system.

Suppose the following scenario:
Select an image item and open window to edit metadata (with menu: item -> edit metadata).
Select there "edit xmp" and click on button "x-default" to select a language for tag caption.
Now a menu is displayed that contains all available language signs and this menu contains more items than can be displayed on screen. See attached screenshot.

I have the following proposal for a better handling of this high amount of language items:

1) A typical digiKam user will only work with (lets say) up to 5 or 10 different languages.
So it would be very helpful to have an additional setting that allows to preselect those language signs that a user will work with.
Now clicking on button "x-default" will open a menu that contains only these preselected language items. "x-default" should of course be always preselected.
For me it would be much more comfortable to work with about 5 language signs than about 100.

2) For e.g German Languages the menu contains the following entries: de-DE, de-AT, de-CH, de-LI and de-LU
But it is not possible to select only language "de"
For me this is a missing feature.

Best regards
Herb
Comment 1 herb 2022-05-16 13:13:32 UTC
Dear developers,

I am still convinced that my 2 request (for digiKam 5.2.0) will be great features for digiKam version 7.7.0 or maybe 8.0.0

To handle > 135 language signs is very annoying and the missing support for language "de" (without further characters) makes things more complicated than necessary. 

Best regards
herb
Comment 2 caulier.gilles 2022-08-20 20:04:04 UTC
Git commit 773b8dc469f0f294dcf39b6d42a36e7a88f5adfd by Gilles Caulier.
Committed on 20/08/2022 at 20:01.
Pushed by cgilles into branch 'master'.

add list of available language for online translator selection.
Prepare Localize config view to host list of prefered languages to provide in Alternative Laguage Text Editor.
Related: bug 283492

M  +15   -0    core/libs/widgets/metadata/utils/altlangstredit.cpp
M  +2    -0    core/libs/widgets/metadata/utils/altlangstredit.h
M  +58   -2    core/libs/widgets/text/localizeconfig.cpp
M  +4    -0    core/libs/widgets/text/localizeconfig.h

https://invent.kde.org/graphics/digikam/commit/773b8dc469f0f294dcf39b6d42a36e7a88f5adfd
Comment 3 caulier.gilles 2022-08-21 13:56:24 UTC
Git commit 6ed62de2aeb77b17581a3def295088ccb4af4d8e by Gilles Caulier.
Committed on 21/08/2022 at 13:55.
Pushed by cgilles into branch 'master'.

add more RFC 3066 language codes
Related: bug 283492

M  +157  -11   core/libs/widgets/metadata/utils/altlangstredit.cpp

https://invent.kde.org/graphics/digikam/commit/6ed62de2aeb77b17581a3def295088ccb4af4d8e
Comment 4 caulier.gilles 2022-08-21 21:06:34 UTC
Git commit f3d58dc5afa267f7047e7548679d151ba055a524 by Gilles Caulier.
Committed on 21/08/2022 at 21:04.
Pushed by cgilles into branch 'master'.

Record list of prefered online translator languages from Setup/Misc/Localize view
and only populate this list in Alternatice Language text editor widget.
Related: bug 283492

M  +3    -2    core/libs/widgets/metadata/utils/altlangstredit.cpp
M  +94   -37   core/libs/widgets/text/localizeconfig.cpp
M  +5    -1    core/libs/widgets/text/localizeconfig.h
M  +11   -1    core/libs/widgets/text/spellcheckcontainer.cpp
M  +1    -0    core/libs/widgets/text/spellcheckcontainer.h

https://invent.kde.org/graphics/digikam/commit/f3d58dc5afa267f7047e7548679d151ba055a524
Comment 5 caulier.gilles 2022-08-22 11:03:23 UTC
Git commit 16d885fa095e259e8d70706a521318ca736ff05d by Gilles Caulier.
Committed on 22/08/2022 at 11:01.
Pushed by cgilles into branch 'master'.

add translator language filter
Related: bug 283492

M  +111  -13   core/libs/widgets/text/localizeconfig.cpp

https://invent.kde.org/graphics/digikam/commit/16d885fa095e259e8d70706a521318ca736ff05d
Comment 6 caulier.gilles 2022-08-22 13:33:49 UTC
Git commit a837b75ad502bc261b3e6a489463c274b68adefc by Gilles Caulier.
Committed on 22/08/2022 at 13:32.
Pushed by cgilles into branch 'master'.

Add new settings to list prefered alternative languages in text editor.
Related: bug 283492
FIXED-IN: 8.0.0

M  +18   -30   core/libs/widgets/metadata/utils/altlangstredit.cpp
M  +1    -1    core/libs/widgets/metadata/utils/altlangstredit.h
M  +72   -20   core/libs/widgets/text/localizeconfig.cpp
M  +1    -0    core/libs/widgets/text/localizeconfig.h
M  +12   -1    core/libs/widgets/text/spellcheckcontainer.cpp
M  +6    -4    core/libs/widgets/text/spellcheckcontainer.h

https://invent.kde.org/graphics/digikam/commit/a837b75ad502bc261b3e6a489463c274b68adefc
Comment 7 caulier.gilles 2022-08-22 14:02:13 UTC
Git commit 42e24eb165f505661abddc50fe4fc1abfb8c48c8 by Gilles Caulier.
Committed on 22/08/2022 at 14:00.
Pushed by cgilles into branch 'master'.

Add new static functions to show Localize setup misc page
Related: bug 283492

M  +28   -0    core/showfoto/setup/showfotosetup.cpp
M  +2    -0    core/showfoto/setup/showfotosetup.h
M  +5    -0    core/showfoto/setup/showfotosetupmisc.cpp
M  +2    -0    core/showfoto/setup/showfotosetupmisc.h
M  +28   -0    core/utilities/setup/setup.cpp
M  +2    -0    core/utilities/setup/setup.h
M  +5    -0    core/utilities/setup/setupmisc.cpp
M  +2    -0    core/utilities/setup/setupmisc.h

https://invent.kde.org/graphics/digikam/commit/42e24eb165f505661abddc50fe4fc1abfb8c48c8
Comment 8 caulier.gilles 2022-08-22 16:18:29 UTC
Git commit 649979dad6b47e7ce49e933fc477893da118285e by Gilles Caulier.
Committed on 22/08/2022 at 16:17.
Pushed by cgilles into branch 'master'.

add "more..." action is alternative language and translation language list to open setup localize page
Related: bug 283492

M  +7    -0    core/app/main/digikamapp.cpp
M  +23   -1    core/libs/widgets/metadata/utils/altlangstredit.cpp
M  +5    -0    core/libs/widgets/text/spellchecksettings.cpp
M  +3    -0    core/libs/widgets/text/spellchecksettings.h
M  +7    -0    core/showfoto/main/showfoto.cpp

https://invent.kde.org/graphics/digikam/commit/649979dad6b47e7ce49e933fc477893da118285e