On Dec 6, 3:08 pm, Romain Guy <[email protected]> wrote:
> It wouldn't. What if you translate your app in a language where the second
> value should appear first? The translation would be $2%s $1%s and the code
> wouldn't change.
>
That may be the case, sometimes, somewhere.  It isn't all the time.
There may have been some developers giving strings to a translation
company who returned the string translations and didn't tell the
developers that the order of %s and %s was different, and the software
company didn't have any QA in place to catch this, so some strings
appeared funny for that particular translation.

I don't think the answer to solve this problem, that probably happened
once to someone, with a build error instead of a warning.

And please, it would be nice if someone could take the time to
document what exactly the "formatted" attribute of the <string>
element means.  
http://developer.android.com/guide/topics/resources/string-resource.html

Thanks,
-Matt

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to