On 15/08/2012 08:33, Rainer Stratmann wrote:
> Am Wednesday 15 August 2012 03:52:00 schrieb waldo kitty:

>> the loading code simply 
>> chooses the proper po file and then loads the strings into an array or
>> whatever using the same variables which are used everywhere no matter what
>> language their contents are written in...
> 
> Do you need a separate pascal identifier for each snippet?
> 
>> i must still be missing something :?

No with (dx)gettext you don't need pascal identifiers for every string.
And the translating function is _():string;
So all you do is writeln(_('snippet1'));, to follow your convention.

So it more or less uses the same idea as you are trying to replicate.

L.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to