summaryrefslogtreecommitdiff
path: root/src/lang.h
blob: ea71e53123980f6de7e3920b99dc16a54d618f0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <the_Foundation/string.h>

void            init_Lang       (void);
void            deinit_Lang     (void);

void            setCurrent_Lang (const char *language);
iRangecc        range_Lang      (iRangecc msgId);

const char *    cstr_Lang       (const char *msgId);
const iString * string_Lang     (const char *msgId);

void            translate_Lang      (iString *textWithIds);
const char *    translateCStr_Lang  (const char *textWithIds);