Mercurial > molko
view doc/docs/dev/api/core/translate.md @ 298:196264679079
misc: remove usage of bool
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Mar 2021 18:49:08 +0100 |
parents | c4da052c0def |
children |
line wrap: on
line source
# Module: translate Synopsis ```c #include <core/translate.h> ``` Translation support. !!! tip This module is usually not required in user code because translations are loaded from library themselves. ## Functions ### translate\_init Initialize native language support for the given domain `name`. Returns false on errors. Returns -1 in case of errors and 0 otherwise. ```c int translate_init(const char *name) ``` ### translate\_finish Close translations. ```c void translate_finish(void) ```