Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/al/alreadtranslation.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/al/alreadtranslation.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/al/alreadtranslation.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/al/alreadtranslation.html on line 8
Read a translation file into a database
#include <photon/Al.h>
int AlReadTranslation( AlDataBase_t *db,
const char *path );
- db
- A pointer to a AlDataBase_t structure for the database,
returned by
AlOpenDBase().
- path
- The pathname of the translation file to load into the database.
phexlib
This function reads the translation file with the given path
into the str_translated fields of the database, db.
|
This function doesn't search for the file in any special directories or
use any environment variables — the path is given directly
to open(). |
- 0
- Success.
- -1
- The file couldn't be opened.
- A positive number
- The file contained entries that had to be ignored because they
didn't match anything in the database.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
AlClearTranslation(),
AlCloseDBase(),
AlGetEntry(),
AlGetSize(),
AlOpenDBase(),
AlSaveTranslation(),
AlSetEntry(),
ApCloseMessageDB(),
ApGetMessage(),
ApLoadMessageDB()
International Language Support
chapter of the Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/al/alreadtranslation.html on line 148
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/al/alreadtranslation.html on line 148