[cups.development] Localized messages from cups API

Michael Sweet msweet at apple.com
Wed Mar 17 08:50:06 PDT 2010


CUPS only provides localized versions of messages it generates.

For error messages use cupsLastErrorString() to get the localized message.

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 mailing list