Re: Recent i18n Pylons changes

Gregor Horvath <gh-LfrpOBifzZo+ytmZ3SK/[email protected]>
Newsgroups gmane.comp.python.formencode
Organization Ing. Gregor Horvath, Industrieberatung & Softwareentwicklung
Message-ID <[email protected]>
Ian Bicking schrieb:

>> N_ would also be useful to have.
> 
> Hmm... that would be a useful convention for FormEncode, since we don't 
> want to translate strings on import but we have lots of dummy _()'s just 
> for extraction.
> 

Yes, that's a matter of taste.
As far as I know N_ is not used very often (and could therefore be 
confusing) and it is definitely not enabled in pygettext by default.

 From the docstring of pygettext:

"""
  Thus,	pygettext searches only for _() by default, but see the 
-k/--keyword flag below for how to augment this.
"""

--
Gregor




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.