This is the recommended way to do i18n


On Fri, Aug 9, 2013 at 11:26 AM, Steve Lamb <notifications@github.com>wrote:

> In opentreemap/treemap/audit.py:
>
> > @@ -6,6 +6,7 @@
> >  from django.contrib.gis.geos import GEOSGeometry
> >
> >  from django.forms.models import model_to_dict
> > +from django.utils.translation import ugettext as _
>
> is it conventional to pull in a function as _ ? I thought _ is typically
> used for assignment of throwaway values. Consider importing this to some
> other name.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/azavea/OTM2/pull/170/files#r5685505>
> .
>



-- 
Adam Hinz
Software Engineer, Azavea
hinz.adam@gmail.com | c: 608-445-8391 | Twitter: @ahinz