diff --git a/src/system/localize.cpp b/src/system/localize.cpp index 6a3f2cb1d..4a196ca88 100644 --- a/src/system/localize.cpp +++ b/src/system/localize.cpp @@ -108,7 +108,8 @@ CLocaleManager::~CLocaleManager() ::free(defaultDataMem); } -const char * path[2] = { CONFIGDIR "/locale/", DATADIR "/neutrino/locale/"}; +#define LOCALEDIR_VAR "/var/tuxbox/locale" +const char * path[2] = { LOCALEDIR_VAR, DATADIR "/neutrino/locale/"}; CLocaleManager::loadLocale_ret_t CLocaleManager::loadLocale(const char * const locale, bool asdefault) {