[RFC] i18n/l10n pam_winbind for samba 3.x
boyang at suse.de
Tue Oct 28 04:38:38 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
>> 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.
I think I figure it out. we can define N_(x) (x). And use N_ in
ntstatus_errors, in _get_ntstatus_error_string(),we use _() to get
i18n'ed string. right?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081028/cbe42ce0/boyang.vcf
More information about the samba-technical