* Allow users to set the location for translation files.

This commit is contained in:
Justin Maggard 2011-02-18 00:13:38 +00:00
parent a1aa1b11ed
commit e67be3db24

View File

@ -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