Steps to Reproduce: 1. Install libguestfs 1.0.82 from Fedora. 2. LANG=pa strace -o /tmp/log -s 1500 guestfish --cmd-help Actual results: Output of guestfish is not localized. strace log file /tmp/log contains no references to 'locale', '/usr/share/locale', 'pa.mo' etc. Expected results: Output of guestfish should be localized. Additional info: We need to modify all C libguestfs programs to call something like this: setlocale(LC_ALL, ""); bindtextdomain(GETTEXT_PACKAGE, LOCALEBASEDIR); textdomain(GETTEXT_PACKAGE); (virsh q.v.: http://libvirt.org/git/?p=libvirt.git;a=blob;f=tools/virsh.c;h=1fae5e6169f20480b0ccc9e22b0a33a7eeb67e0a;hb=HEAD#l8976 )
(In reply to comment #0) > 2. LANG=pa strace -o /tmp/log -s 1500 guestfish --cmd-help This isn't quite accurate. The actual test command is: LANG=pa_IN.UTF-8 strace -o /tmp/log -s 1500 guestfish --cmd-help However this still doesn't work.
Should be fixed by: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=a6025c11d97ed5802b3729a93d224d2baa20ff12