#include #include "lang.h" #include "elog.h" #if 1 #define LOGD log_d #define LOGE log_e #define LOGW log_w #else #define LOGD printf #define LOGE printf #define LOGW printf #endif const char *s_lang_str[LANG_ID_MAX][STR_ID_MAX]={ {//LANG_ID_CHINESE }, {//LANG_ID_ENGLISH }, {//LANG_ID_RUSSIAN }, {//LANG_ID_SPANISH }, {//LANG_ID_PORTYGYESE }, {//LANG_ID_GERMAN }, {//LANG_ID_FRENCH }, {//LANG_ID_ITALIAN }, {//LANG_ID_JAPANESE }, } static int s_lang_id=LANG_ID_CHINESE; int lang_init(int lang_id) { s_lang_id = lang_id; } int lang_get(char *buf, int buflen, ...) { } int lang_get_ex(int lang_id, char *buf, int buflen, ...) { }