[Previous] [Contents] [Index] [Next]

AlSaveTranslation()

Save translations from a language or message database

Synopsis:

include <photon/Al.h>

int AlSaveTranslation( AlDataBase_t const *db,
                       const char *path );

Library:

phexlib

Description:

AlSaveTranslation() saves the current translations in the database specified by db into a translation file named by path.


Note: This function doesn't locate the file in any special directories or use any environment variables -- the path is given directly to open().

Returns:

0
Success.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AlClearTranslation(), AlCloseDBase(), AlGetEntry(), AlGetSize(), AlOpenDBase(), AlReadTranslation(), AlSetEntry(), ApCloseMessageDB(), ApGetMessage(), ApLoadMessageDB()

International Language Support chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]