diff options
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index 4ea8aaf1..2bc4b3ce 100644 --- a/src/main.cc +++ b/src/main.cc @@ -94,6 +94,11 @@ int main(int argc, char **argv) { char *rc_file = (char *) 0; char *menu_file = (char *) 0; + // initialize the locale + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + for (int i = 1; i < argc; ++i) { if (! strcmp(argv[i], "-rc")) { // look for alternative rc file to use |
