Mercurial > molko
view doc/docs/dev/api/core/translate.md @ 455:c4f31658104d
core: maths -> mlk_maths
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 18 Feb 2023 20:59:48 +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) ```