diff doc/docs/dev/api/core/translate.md @ 253:c4da052c0def

core: goodbye doxygen
author David Demelier <markand@malikania.fr>
date Thu, 03 Dec 2020 09:06:52 +0100
parents
children 196264679079
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/docs/dev/api/core/translate.md	Thu Dec 03 09:06:52 2020 +0100
@@ -0,0 +1,34 @@
+# 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.
+
+```c
+bool
+translate_init(const char *name)
+```
+
+### translate\_finish
+
+Close translations.
+
+```c
+void
+translate_finish(void)
+```