error info handling in MIT krb5 code

Jeffrey Hutzelman jhutz at cmu.edu
Wed Mar 29 16:55:37 EST 2006



On Wednesday, March 29, 2006 04:08:13 PM -0500 Alexandra Ellwood 
<lxs at mit.edu> wrote:

> We could use %s with sprintf and UTF8 strings just as easily.

True.  But consider how this interacts with the windows event log.

> And
> there's no reason why we couldn't localize the other arguments to
> stringWithFormat: if that was necessary.

Usually you end up not wanting to do that, and instead have localized 
versions of the result of substituting those things in.  For example, 
changing the sense of a boolean in English might just involve substituting 
"not " or "", but in some other language it might change the entire 
sentence structure.

FWIW, of Ken's choices, I think the third (multiple catalogs) seems most 
feasible.  Unless it turns out to be _really_ easy to programmatically 
translate format string syntax.

-- Jeff



More information about the krbdev mailing list