1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-02-24 23:37:43 +01:00
bygfoot/src/language.h
2005-07-25 04:35:53 +00:00

22 lines
402 B
C

#ifndef LANGUAGE_H
#define LANGUAGE_H
#include "bygfoot.h"
#include "option.h"
#include <locale.h>
#define language_get_current_index() (strlen(opt_str("string_opt_language_code")) > 0) ? language_get_code_index(opt_str("string_opt_language_code")) : -1
gint
language_get_code_index(const gchar *code);
void
language_set(gint index);
#ifndef G_OS_UNIX
extern int _nl_msg_cat_cntr;
#endif
#endif