* Allow users to set the location for translation files.
This commit is contained in:
@ -825,6 +825,7 @@ main(int argc, char * * argv)
|
||||
#ifdef ENABLE_NLS
|
||||
setlocale(LC_MESSAGES, "");
|
||||
setlocale(LC_CTYPE, "en_US.utf8");
|
||||
DPRINTF(E_DEBUG, L_GENERAL, "Using locale dir %s\n", bindtextdomain("minidlna", getenv("TEXTDOMAINDIR")));
|
||||
textdomain("minidlna");
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user