From: me
> > To localize the message, the localFormatString resource (in this
example,
> > "Thank's for registering, %s!\n\nYour code is %s") gets translated.
> > Therefore, reasons a and b above no longer apply.  I'm sorry if
> simplifying the explanation caused any confusion.

From: "Ben Combee" <[EMAIL PROTECTED]>
> Actually, reason b does still apply, since you are locked into having the
> name appear before the code, since there is no way to use the fourth
> parameter in the StrPrintF parameter list before using the third.

Me, again...
That is a good point.  It doesn't apply in the specific example I gave, but
it could easily apply in the general case.  E.g., something like:
    StrPrintF( msg, "That's a %s %s, Mr. Smith", adjective, noun );
which in Spanish would have to be:
    StrPrintF( msg, "Es un %s %s, Sr. Smith", noun, adjective ).

(Please excuse me if the translation is not perfect; high school Spanish was
a loooong time ago.)



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to