Hi, Thanks a lot for your instructive answer. I have no strings in my application where the order of the arguments are relevant, but I will bear this in mind for further.
Best regards, On 21/06/12 17:55, Tor Norbye wrote: > You need to number the string arguments because in some translations, the > order in which the substitutions appear may not be the same. If you just > use %s, there is no way to for example use the second argument earlier than > the first; it will need to find the first occurrence of %s and match it > with the first parameter, and so on. With numbered arguments, one > translation could do this: "Dear %2$s, %1$s." (for example when the > strings represent first and last names, where there are different > conventions across localizations.) > > -- Tor > > On Thu, Jun 21, 2012 at 8:24 AM, Francisco M. Marzoa Alonso < > fmmar...@gmail.com> wrote: > >> Well, the other approach also seems to solve the problem, so as both >> approaches seems to solve the problem, I do not see the difference >> between them. And your answer didn't help me, indeed. >> >> BTW, there is no need of being so high-handed when answering. >> >> Best regards, >> >> >> On 21/06/12 17:11, Justin Anderson wrote: >>>> Is there some difference with your proposal? >>>> >>> Yes, the difference is that his fixes the problem. Did you try it? >>> >>> Thanks, >>> Justin Anderson >>> MagouyaWare Developer >>> http://sites.google.com/site/magouyaware >>> >>> >>> On Thu, Jun 21, 2012 at 2:08 AM, Francisco M. Marzoa Alonso < >>> fmmar...@gmail.com> wrote: >>> >>>> Is there some difference with your proposal? >>>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en