[fpc-pascal] string comparison with strcomp
Marc Santhoff
M.Santhoff at t-online.de
Mon Apr 11 20:50:59 CEST 2005
Am Mo, den 11.04.2005 schrieb Matthias Hryniszak um 18:06:
> > Do you use that one with fpc? The source looks rather Delphi/Kylix'ish.
>
> Nope, but I guess you can find there the solution for it. Just get the
> GNUGetText.pas and look for changes made in version 1.2. Since this version
> GNUGetText supports UTF8 strings in strids.
Ah, fine. I'll do that first.
> On the other hand I missed the possibility to "compile" a .po file in my
> application instead of loading a ready-made .mo file. So I started my own
> implementation (based on GNUGetText.pas, gettext.pp and the original
> implementation of GNU GetText). It will support the following features:
>
> - strids don't have to be "pure english" anymore
> - compile under delphi/fpc (win32 target strongly tested)
> - plural forms
>
> If you're interested I can give you some draft implementations that I've
> made.
Do I understand correctly that your implementation goal is to handle the
creation of .mo files programmatically?
This sounds interesting, but I'm under pressure of my deadline and the
decision if I have to swap the base language or find an acceptable quick
way of using german language as basis.
Anything that can help me in reaching this goal is very much appreciated
and will give me more time for other tasks. ;)
Gruß,
Marc
More information about the fpc-pascal
mailing list