Re: Multiple questions about i18n / pluralization in Pyramid

2013-05-29 Thread Laurent DAVERIO
Hello again, this is a follow-up to my own post. I'm slowly working my way towards the light ;-) 1/ After looking at the docs and the source code, I'm more and more convinced that Babel can't handle pluralization. Do you have any hint on the issue? All my apologies to Babel developers.

Re: Multiple questions about i18n / pluralization in Pyramid [SOLVED]

2013-05-29 Thread Laurent DAVERIO
Hello again, one final word, in case someone is interested (apart from me, I mean ;-)) Then, extract messages using: python setup.py extract_messages -k _p More precisely: python setup.py extract_messages -k _p:1,2 The argument _p:1,2 will tell Babel that arguments 1 and 2 of function

Multiple questions about i18n / pluralization in Pyramid

2013-05-22 Thread Laurent DAVERIO
Hello list, I'm in the process of internationalizing a Pyramid application, and I'm currently stumbling on a few problems. Basic setup as per the tutorial works fine: I can extract message strings to catalog files using Babel+Lingua, fill-in the PO files, compile them to MO files and display