[openstack-dev] gettext question about oslo.i18n library

Peng Wu peng.e.wu at gmail.com
Mon Aug 18 02:03:39 UTC 2014


  Yes, I am interested in adding these missing gettext functions to
oslo.i18n library.

  Guess the next step is to create a blueprint for Kilo?

Thanks,
  Peng Wu


On Fri, 2014-08-15 at 16:02 -0400, Doug Hellmann wrote:
> On Aug 15, 2014, at 3:18 AM, Peng Wu <peng.e.wu at gmail.com> wrote:
> 
> > Hi,
> > 
> >  Recently I just read the code of oslo.i18n library,
> >  The lazy translation idea is great!
> > 
> >  But I found a question about gettext "contextual markers"
> >  and "plural form", such as pgettext and ungettext functions,
> >  see [3].
> > 
> >  It seems the two gettext functions are missing in the oslo.i18n
> > library.
> >  Is it correct? or will support it?
> > 
> > Thanks,
> >  Peng Wu
> 
> You’re right, those are not present.
> 
> We apparently haven’t used them anywhere, yet, because they weren’t exposed via the old gettextutils module in the incubator. We should add them. Are you interested in working on a blueprint for Kilo to do that?
> 
> Doug
> 
> > 
> > Refer URL:
> > 1. https://github.com/openstack/oslo.i18n
> > 2.
> > http://lists.openstack.org/pipermail/openstack-dev/2014-July/039217.html
> > 3. https://wiki.openstack.org/wiki/I18n/TranslatableStrings
> > 
> > 
> > 
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





More information about the OpenStack-dev mailing list