Localized messages from cups API

Daniel Nicoletti dantti85-pk at yahoo.com.br
Wed Mar 17 11:13:46 PDT 2010


> CUPS only provides localized versions of messages it generates.
>
> For error messages use cupsLastErrorString() to get the localized message.

Yes, that's the function I use, does it rely on LANGUAGE or LANG to be set?
Thanks.

>
> On Mar 17, 2010, at 7:04 AM, Daniel Nicoletti wrote:
>
> > I tried to dig into cups sources but could not
> > find how can a client application using cups API
> > can get localized messages.
> > At least when I'm using localhost:631 most of
> > the messages are localized like forbidden, but
> > I could not do that in my client application.
> >
> > Is there a way to get localized messages? Like
> > ippAddString("lang", lang); or it only works
> > for localhost:631 ?
> >
> > Thanks.
> > _______________________________________________
> > cups-dev mailing list
> > cups-dev at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-dev
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
>
>





More information about the cups-devel mailing list