view doc/docs/dev/api/core/translate.md @ 296:032aeb430424

doc: document zfile
author David Demelier <markand@malikania.fr>
date Wed, 10 Mar 2021 18:39:50 +0100
parents c4da052c0def
children 196264679079
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.

```c
bool
translate_init(const char *name)
```

### translate\_finish

Close translations.

```c
void
translate_finish(void)
```