> Conclusion:
> The .po format is not designed/meant for large pieces of continuous text.

The cool thing about "*.po" files are

One text file for a set of messages, each message with a string ID.

What about a BINARY replacement of text files such as:

-----------------
Binary Help Index table ("*.hidx"):
-----------------
Identifier|Offset
-----------------
1.........|0
2.........|5
-----------------

------------------
Binary Help Message table ("*.hmsg"):
------------------
RecordNumber|Message
------------------
0...........|Hello
5...........|World
------------------

------------------
Pascal file that uses resources ("*.pas"):
------------------

const
  resHello = 1; // for "Binary Index file"
  resWorld = 2; // for "Binary Index file"

...

function _(const Identifier: Integer): string;
// function that loads a resourcestring, guven its identifier

var S: string;
...
  S := _(resHello) + ' ' + _(resWorld);

------------------

And use it to make a help system.

My 2 cents...

-----
Marco Aurelio Ramirez Carrillo
[EMAIL PROTECTED] [.mx]

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to