Making a change in a SharePoint page
-
Software translators are TRWTF. I've seen people translate %s and %d
Hmm. What happens in those i18n suites when there are two
%s
's in the string and the order can change between languages? #BadIdeasThread
-
Hmm. What happens in those i18n suites when there are two
%s
's in the string and the order can change between languages? #BadIdeasThreadWell, in PHP it's
%1$s %2$s
and in Go it's%[1]s %[2]s
-
print "blah blah blah blah blah including some replacements" % classInstance.__dict__
-
Well, in PHP it's
%1$s %2$s
It's the same in many languages (but not all, of course); those come from the XPG3 guidelines for positional specifications.
-
Another standard! <insert obligatory xkcd reference>