Bug 437772

Summary: Python3 support for kross
Product: [Unmaintained] kross-interpreters Reporter: Dimitrios Glentadakis <dglent>
Component: generalAssignee: Alexander Potashev <aspotashev>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dimitrios Glentadakis 2021-05-28 11:38:15 UTC
Hello

Since the Python 2 drop (in my distro mageia 8) i cannot use the Lokalize scripts.
The port to Python3 is needed

https://invent.kde.org/libraries/kross-interpreters/-/issues/1
https://bugs.mageia.org/show_bug.cgi?id=28974

Thanks in advance
Comment 1 Alexander Potashev 2021-08-31 20:29:22 UTC
Hi Dimitrios,
Could you please share what are you using Lokalize scripts for? Do you really need that level of flexibility that scripting provides?

(E.g. if you only need opensrc, it might be easier to implement that part in Lokalize itself without scripting.)
Comment 2 Dimitrios Glentadakis 2021-09-01 04:26:02 UTC
Hi Alexander

I use a script to export the ts files to qm
And another script which search in different sites translation of terminologies (sites with translation of specific domains, scientific domains etc)
Instead of visit 10 sites and make a research, i select the word in Lokalize and i run the script.

I thought that was easy to port from python 2 to python 3, is n't it ?
Comment 3 Dimitrios Glentadakis 2021-10-01 03:17:12 UTC
I have also a script to export the ts file to qm
Comment 4 Christoph Cullmann 2024-05-06 17:57:47 UTC
Kross got removed in KF6, that solves this, naturally no like anticipated, but
that never took of, sorry.