SUMMARY It would be nice if messages in .po file could be sortable by source file path + line number. Use case: when a .po file is sorted by msgid+msgctxt, it's not easy to translate a subset of messages coming from a specific .cpp/.ui/.qml file because they won't be consecutive anymore in the .po. Context: https://invent.kde.org/graphics/krita/-/merge_requests/536#note_119875 STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Alternatively, we could introduce a specific editing mode in Lokalize where all messages would be grouped by source file or even organized as a tree equivalent to the source repo tree. Note: Qt Linguist's UI is similar, however it groups by C++/Qt classes.