[RFC] i18n/l10n pam_winbind for samba 3.x

Jeremy Allison jra at samba.org
Tue Oct 28 15:42:48 GMT 2008


On Tue, Oct 28, 2008 at 12:38:38PM +0800, boyang wrote:
> 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.
> >   
> oops...
> 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?

Yes, that's usually how it's done.

Jeremy.


More information about the samba-technical mailing list