Skip to content

Season of KDE 2026 - Fixing the Glossary in Lokalize (Final)

Monday, 6 April 2026  |  Jaimukund Bhan

Greetings to the KDE community!

This is a blog which follows my previous post and includes the work I did in the second half of Season of KDE.

Improved manual Glossary term addition

There are two methods to add terms to the glossary. The first one is to highlight the source and target terms in the Editor Tab, and then using the context menu in the Glossary View to Define a New Term. The second is to manually add new terms through the Glossary Tab without any prior text selection. Previously, when a term had to be added manually, a blank entry was made first, which the user could then edit. This meant that multiple blank entries could be accidentally accumulated in the Glossary file. Users are now prompted to enter the source and target terms in a dialog box when trying to add terms manually, removing the need of creating blank entries.

Fixed the shortcut key for Previous Active Tab

The shortcut key for switching to the Previously Active Tab was not working properly as the currentChanged signal updated the current index of the m_mainTabs before the previous index could be saved to the previousActiveTabIndex variable. I updated the event filter to catch tab switches made through mouse clicks and replaced the integer variable with a widget pointer, since it would remain valid even if tab positions change, whereas an index-based would require calculations.