Re: Troubles with python internationalization

2010-05-26 Thread Dan Stromberg
On May 25, 10:46 am, Pascal Chambon wrote: > * code safety : it seems default python string formatting technics (% > operator, .format() method) are normally used when one needs to > substitute placeholders in translated strings. But the thing is : I DONT > want my view to raise an exception simp

Troubles with python internationalization

2010-05-25 Thread Pascal Chambon
Hello I'm studying the migration of my website (mixed english and french languages...) to a properly localized architecture. From what I've read so far, using translation "tags" (or quick phrases) in the code, and translating them to every target language (including english) sounds a better appr