A PO editor

Hi!
I’m building a simple PO editor in python and Bethon, as before it runs only in 32 bit Haiku…
I know that Haiku software uses catkeys but I hope it will be useful in translations for other projects.
It’s in an early stage, but can do some basic operations
here some screenshots:
screenshot0
screenshot1
screenshot2

screenshot3

18 Likes

Is it already available online somewhere?

No, it’s under development, but I think it will be available soon (one or two weeks if everything works)

3 Likes

Well, I published the code here https://github.com/tmtfx/HaiPO

It’s a bad piece of software, not optimized, slow and maybe you’ll face some bugs… This is why I consider it in alpha state
Anyhow it seems to do its job.
I’ll add some features in the near future (like handling the header of pofiles)
Notice this:

  • In github repo I placed a zipped file with gettext mimetype to place in /boot/home/config/settings/mime_db/text
  • At first run it will create a user profile which will be saved in config.ini
  • Temporary changes will be saved on a file called normalfile.temp.po
  • Load of “big” files takes some time due to double checks for multiple occurrencies (one day I’ll rewrite the source code) for example a file with 5800 entries takes more or less 7.5 seconds to load on my Intel Icelake 1.2Ghz
  • To run this application you’ll need python, Bethon (which runs only on Haiku-32bit), and polib for python which you can install with pip command

I Hope it will be usefull

Here some more screenshots:
screenshot4

screenshot7

8 Likes