AlSaveTranslation()

Save translations from a language or message database

Synopsis:

#include <photon/Al.h>

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

Arguments:

db
A pointer to a AlDataBase_t structure for the database, returned by AlOpenDBase().
path
The pathname of the file in which to save the translations.

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