Mercurial > molko
view doc/docs/dev/api/core/translate.md @ 477:66e7f5fa7b78
misc: update .clang
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 27 Feb 2023 12:49:36 +0100 |
parents | 196264679079 |
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) ```