On Thu, 2009-02-12 at 06:32 +0100, Peer Sommerlund wrote: > [cc'ing tortoisehg-develop] > > 2009/2/12 Steve Borho <st...@borho.org> > On Wed, Feb 11, 2009 at 1:56 PM, Peer Sommerlund > <peer.sommerl...@gmail.com> wrote: > > > As a step towards TortoiseHg 0.8 I have set up a launchpad > project for > > translation. > > https://translations.launchpad.net/tortoisehg > > > I see there's a Danish translation under way :) > > How did you generate the initial pot file? Was that just from > the code > that was already instrumented with _() ? > > The source code for Python contain a pygettext.py which can extract > _() > http://www.python.org/doc/2.5.2/lib/node737.html > > It is very simple to use. > > The real work is to getting the THG source code to use translations > and to add _() all relevant places.
And adding context information for translators, whenever could be confusing. -- Germán Póo-Caamaño http://www.calcifer.org/ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop