Hi,
I suggest to use internally hash array instead of normal array.
It will be more flexible on .prg level because user can simply make:
trs[ cText ] := cTranslation
and then:
? trs[ cText ]
Almost thee same solution I'm using in my local i18n runtime.
Please also remember that you c
Hi Przemek,
Many thanks for your suggestions. I'm afraid
I'll quickly run out of my C expertise to rework
everything to another new format, but what you
say may all make sense.
As for serialize functions and hash, I'm not sure
they would be more efficient than now, especially
for loading. I have
On Sat, 01 Nov 2008, Szak�ts Viktor wrote:
Hi Viktor,
> ; NOTE: The internal format of 'trs' (loaded translation) is also
> different. For minimal memory/speed overhead, I've choosen a one
> dimensional array, as opposed to the original two dimensional
>
2008-11-01 08:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
* common.mak
* source/rtl/Makefile
+ source/rtl/hbi18n.c
+ Added basic/low level i18n functions:
__I18N_SAVE( cFileName | nHandle, aSortedTable [, cComment ] ) => lSuccess
__I18N_LOAD( cFil