https://bugs.kde.org/show_bug.cgi?id=491782

            Bug ID: 491782
           Summary: Translation Memory fails to process Czech Summit
                    translation files
    Classification: Applications
           Product: lokalize
           Version: 24.05.2
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: translation memory
          Assignee: sdepi...@gmail.com
          Reporter: v...@pelcak.org
                CC: aa...@kde.org, sha...@ukr.net
  Target Milestone: ---

SUMMARY
I translate KDE to Czech in Lokalize. I used PO Summit to translate all
branches easily.

STEPS TO REPRODUCE
1. Have Czech project in patch .../kde/trunk/l10n-support/cs/summit/messages
2. In Lokalize go to translation Memory -> "Manage translation memories" and
delete all the translation memories
3. Create -> Give it some name -> OK
4. In Translation Memory tab -> Rescan project files

In my case it thinks that it scanned all files already and will jump right to
100% and won't ever finish.

I clicked Cancel wend back to "Manage translation memories" and noticed that
besides the TM I created there is a new one kde-messages. If I delete that one,
the whole thing with 100% right from the start and "kde-messages" repeats.

So I decided to delete the one I created and keep kde-messages. Then I ran
"Rescan project files" again.

OBSERVED RESULT
The scan started at 0%, added all the files, reached 100% and never finished
(at least not after tens of minutes).

Later I noticed that search in TM provided limited results. That suggests some
files are not properly saved into TM.

EXPECTED RESULT
After reaching 100% the Rescan normally finishes and search results find all
strings.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  openSUSE Tumbleweed 20240813
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I noticed there is not Lokalize directory in my HOME dir as I moved to new
laptop and copied just configs. Maybe Lokalize fails to save the file because
of that. Then I would expect Lokalize to recreate the directory.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to