* Allow users to set the location for translation files.
This commit is contained in:
1 parent
a1aa1b11ed
commit
e67be3db24
1 file changed
+1
@@ -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