Lazarus

Miscellaneous => Translations => Topic started by: Alienizering on May 18, 2022, 05:26:11 am

Title: What is the best free pot/po translator?
Post by: Alienizering on May 18, 2022, 05:26:11 am
I tried Poedit but I can't get it to translate anything, it keeps telling me I need to go Pro. Are there any free good ones?
Title: Re: What is the best free pot/po translator?
Post by: wp on May 18, 2022, 09:31:40 am
Maybe your expectations are not right: poedit itself does not "translate" anything, this still is your job. poedit only is a tool to enter the translated texts and to store them in the .po file format.
Title: Re: What is the best free pot/po translator?
Post by: trev on May 18, 2022, 09:49:34 am
If you "go Pro" you do indeed get:

"Translate string-by-string, or save even more time by letting Poedit pre-translate entire files at once using the same tricks used to deliver suggestions. Then just make corrections."

Or you can simply use a search engine translator manually... in either case you will need to know enough of the foreign language not to make bizarre grammatical errors or total nonsense.

For example, in my first French class at school I had to translate "The cat saw the milk." for homework. Using my trusty English-French dictionary I came up with "Le chat scier le lait." which had the teacher in stitches of laughter the next day :-))
Title: Re: What is the best free pot/po translator?
Post by: avra on May 18, 2022, 10:47:01 am
If you don't get a satisfying suggestion, you might need to research on your own:
https://alternativeto.net/software/poedit/?license=opensource&p=2
https://github.com/search?q=i18n+editor&type=Repositories
Title: Re: What is the best free pot/po translator?
Post by: marcov on May 18, 2022, 11:23:16 am
I use gorm (a delphi application, part of the dxgettext project), but I use a self compiled one.

The reason for gorm, is that it allows multi line translatables without forcing \n and format() use.
Title: Re: What is the best free pot/po translator?
Post by: gasensor on May 18, 2022, 04:47:13 pm
Open Source Translation Database
http://littlesvr.ca/ostd/ (http://littlesvr.ca/ostd/)

Potential translations:
http://littlesvr.ca/ostd/translatepot.php (http://littlesvr.ca/ostd/translatepot.php)

I test it with a simple PO file.  It is OK.
Title: Re: What is the best free pot/po translator?
Post by: Alienizering on May 18, 2022, 06:53:59 pm
oh! I wasn't aware that they are not translators! So I ended up making my own translator which do translate all the text in PO and POT files to any language without having to translate anything myself. I wonder why no one has made one, it's relatively simple to make!
Title: Re: What is the best free pot/po translator?
Post by: MaxLemberger on June 26, 2022, 12:46:30 pm
Maybe you schould stook a look of this:

This preview is programmed in Lazarus and when the translation to English is Ready I will give ist with english help and source for download.

https://lazarus.intern.es/mylangedit.html
Title: Re: What is the best free pot/po translator?
Post by: marcov on June 26, 2022, 01:08:51 pm
Maybe you schould stook a look of this:

This preview is programmed in Lazarus and when the translation to English is Ready I will give ist with english help and source for download.

https://lazarus.intern.es/mylangedit.html

Could make heads or tails of it. Loaded a dxgettext .po (mostly English) but didn't even manage to do a test run to Dutch or German translation because I could find where to select the languages.

(and I do understand German to some degree)
Title: Re: What is the best free pot/po translator?
Post by: MaxLemberger on June 26, 2022, 01:50:34 pm
The Program have F1- help - but the documentation ist not full ready now and is german. You can change the language as it is shown in picture. To load a PO-File you should click the button "PO-Datei" in the left upper corner.

When you mean the language for translating - this is not intended

A language setting is not provided here. Simply carry out the translation in the desired language. The main focus here is to translate with a translation tool and give back to the PO file.

When it is ready at last on end of August (this year) i will make a clip.
Title: Re: What is the best free pot/po translator?
Post by: marcov on June 26, 2022, 02:13:13 pm
I meant the origin language of the PO (translated from) and the destination (translated too) language, not the interface language.

Btw, all backslashes are capital W with a dash(Strich) through it. It does show backslash in the tooltip if you hover above them though. Just mention it because I don't see it in your screenshots. 

Locale is Dutch, which should be as close to German as you can get :-)
TinyPortal © 2005-2018