regarding Al-Phab function again

I am interested in writing a custom language editor. I would like to
write an application that will read in the language database
(MyAppToBeTranslated.ldb) and output a delimited text file
(MyAppToBeTranslated.txt) that I can then contract someone to translate
into several different languages.

When they are done translating it (using a text editor of their choice)
my application will read in the translated text files and generate the
language files (MyAppToBeTranslated.de_DE), (MyAppToBeTranslated.sp_SP),
(MyAppToBeTranslated.it_IT), etc.

I am running (As reported from “sin ver” command):

QNX Proc32 - 4.25J – Sept. 9, 1999
Photon - 1.14B – Sept. 3, 1999


On the QNX knowledge base web site, I can find reference to “Translation
Functions” AlOpenDBase(), AlGetEntry(), AlSaveTranslation(), etc. These
will be very useful for my project. However, these functions do not
exist in my version of Help and when I try to write a little test
program that includes Al.h (where these functions are prototyped), I get
a link error because “AlDataBase_t” is undefined.

The Upgrade notes for the latest version of phtk do not mention any
refinements in this area.

It looks like what I need is out there in a release… (somewhere)… Can
someone out there (who has the latest release), check there help system
for these Translation files and see if “AlDataBase_t” is defined in
their Al.h file???

Ran Zhang
Vamco International, Inc.

Ran Zhang <eng@vamcofeeds.com> wrote:

I am interested in writing a custom language editor. I would like to
write an application that will read in the language database
(MyAppToBeTranslated.ldb) and output a delimited text file
(MyAppToBeTranslated.txt) that I can then contract someone to translate
into several different languages.

When they are done translating it (using a text editor of their choice)
my application will read in the translated text files and generate the
language files (MyAppToBeTranslated.de_DE), (MyAppToBeTranslated.sp_SP),
(MyAppToBeTranslated.it_IT), etc.

I am running (As reported from “sin ver” command):

QNX Proc32 - 4.25J - Sept. 9, 1999
Photon - 1.14B - Sept. 3, 1999



On the QNX knowledge base web site, I can find reference to “Translation
Functions” AlOpenDBase(), AlGetEntry(), AlSaveTranslation(), etc. These
will be very useful for my project. However, these functions do not
exist in my version of Help and when I try to write a little test
program that includes Al.h (where these functions are prototyped), I get
a link error because “AlDataBase_t” is undefined.

Are you sure? AlDataBase_t is a typedef – I can’t imagine how it could
cause a linker error…

In Photon 1.14, the Al functions are in PhAB library. Are you
specifying “-l Aplib” to the linker?

The Upgrade notes for the latest version of phtk do not mention any
refinements in this area.

It looks like what I need is out there in a release (somewhere) Can
someone out there (who has the latest release), check there help system
for these Translation files and see if “AlDataBase_t” is defined in
their Al.h file???

As I explained elswhere, these functions exist in the Photon 1.14 PhAB
library but aren’t documented. But can use the Photon 2.0 docs – if
you don’t have a copy, try online:

http://support.qnx.com/support/docs/photon20/lib_ref/al-base.html


Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.