[PATCH] i18n/l10n pam_winbind (Was: [RFC] i18n/l10n pam_winbind for samba 3.x)

boyang boyang at suse.de
Tue Oct 28 10:07:33 GMT 2008


Jeremy Allison wrote:
> On Mon, Oct 27, 2008 at 07:40:17AM +0100, Christian Perrier wrote:
>   
>> Quoting boyang (boyang at suse.de):
>>     
>>> Hi, everybody:
>>>      Does it deserve to i18n/l10n pam_winbind so that error messages and
>>> warnings that will be seen by user is i18n/l10ned, which makes samba
>>> more user-friendly.
>>>       
>> I personnally think that any kind of i18n work in samba would be
>> welcome..:-)
>>
>> Contrary to a wwell established legend, not all sysadmins are very
>> fluent in English and decent localization of software and
>> documentation is always a great enhancement.
>>
>> When it comes at samba, I see some places where i18n would be needed:
>>
>> - interactive commands: mostly 'net'. I seem to remember that some
>>   people mentioned they were working on it, back in Spring
>>
>> - pam_winbind maybe, as you mention
>>     
>
> I'm happy to take any gettext patches. Anything using
> d_printf() is probably a good candidate.
>   
Here is the patch for 3-0-test, please review it. I am not sure if I did
it right, therefore, I think I need some feedback before porting it to
3-[23]-test, 3-devel and master. :-)  Thanks in advance! Here is the
major changes:
1. add option to configure script to configure localedir, where
pam_winbind will look up .mo from, where .mo will be installed.
2. link pam_winbind against dynconfig.o to make sure that pam_winbind
will get the correct path to .mo files
3. add install/uninstall section in Makefile.in as well as installation
script(installmo.sh) for .mo files
4. recommend to include one new directory under source to contain .po
files. For example, .po files for pam_winbind will be under directory
source/locale/pam_winbind/, which makes it easier for installing .mo files.

> Jeremy.
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: i18n-l10n-v3-0-test.diff
Type: text/x-patch
Size: 22505 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081028/c4877134/i18n-l10n-v3-0-test-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081028/c4877134/boyang-0001.vcf


More information about the samba-technical mailing list