Le lundi 18 février 2013 14:33:27 UTC+1, VernonCole a écrit : > > Dear Gurus: > I am a regular lurker on this list, and I have accepted the invitation > to use 1.5rc1 to help test it. My group is putting together a small (but > very important, we think) application which will use some features of 1.5 > and geodjango. I have also been reading the corresponding 1.5 > documentation, and have done some testing under Python 3. [Job well done, > everyone!] >
Thanks, it is very important that 1.5 gets as many testing as possible before the release. > Here comes my question: The documentation for i18n ( > https://docs.djangoproject.com/en/dev/topics/i18n/translation/) makes > extensive use of percent string formatting (where the format string is the > left-argument of a "%" operator.) I have been trying to convert myself and > my code to the more-recently-defined string.format() function. > I know that the document has been recently edited, because I can see > "print" used as a function, and "smart_text', etc. But not one word is > mentioned about the new string formatting function. Will it be / is it > supported by django translations, or should I revert to using % formatting > as my habit? > What do the "insiders" say? > There is a thread which should answer your question: https://groups.google.com/forum/?fromgroups#!topic/django-developers/7xiXlz5DUWM Claude -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
