2005-06-14 17:27:44 +02:00
|
|
|
#ifndef LANGUAGE_H
|
|
|
|
#define LANGUAGE_H
|
|
|
|
|
|
|
|
#include "bygfoot.h"
|
|
|
|
#include "option.h"
|
|
|
|
|
2005-07-25 06:35:53 +02:00
|
|
|
#include <locale.h>
|
|
|
|
|
2005-06-14 17:27:44 +02:00
|
|
|
#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);
|
|
|
|
|
2005-07-25 06:35:53 +02:00
|
|
|
#ifndef G_OS_UNIX
|
|
|
|
extern int _nl_msg_cat_cntr;
|
|
|
|
#endif
|
|
|
|
|
2005-06-14 17:27:44 +02:00
|
|
|
#endif
|