Re: [openstack-dev] [horizon] Removing the .mo files from Horizon git

2013-07-04 Thread Matt Riedemann
I use Babel simply because the setup.cfg on the core projects are already 
configured for running babel so all I have to do to generate the .mo files 
is python setup.py compile_catalog.



Thanks,

MATT RIEDEMANN
Advisory Software Engineer
Cloud Solutions and OpenStack Development

Phone: 1-507-253-7622 | Mobile: 1-507-990-1889
E-mail: mrie...@us.ibm.com


3605 Hwy 52 N
Rochester, MN 55901-1407
United States




From:   Thomas Goirand z...@debian.org
To: OpenStack Development Mailing List 
openstack-dev@lists.openstack.org, 
Date:   07/04/2013 08:15 AM
Subject:Re: [openstack-dev] [horizon] Removing the .mo files from 
Horizon git



On 07/04/2013 10:14 AM, Matt Riedemann wrote:
 If you use Babel, I don't think you need gettext by itself since I
 thought Babel has it's own conversion/compile code built-in?

But why would you use something in Python, when GNU gettext in C does
the job lightning fast, and is available everywhere?

Thomas

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


image/gif___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [horizon] Removing the .mo files from Horizon git

2013-07-02 Thread Thierry Carrez
Thomas Goirand wrote:
 So, shouldn't the .mo files be generated at build time only, and be kept
 out of the Git?

+1

-- 
Thierry Carrez (ttx)

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [horizon] Removing the .mo files from Horizon git

2013-07-02 Thread Monty Taylor


On 07/02/2013 01:13 AM, Mark McLoughlin wrote:
 On Tue, 2013-07-02 at 09:58 +0200, Thierry Carrez wrote:
 Thomas Goirand wrote:
 So, shouldn't the .mo files be generated at build time only, and be kept
 out of the Git?

 +1
 
 Yep, agree too.
 
 Interestingly, last time I checked, devstack doesn't actually compile
 the message catalogs (python setup.py compile_catalog).
 
 I've been meaning to fix that for a while now, but it's fallen by the
 wayside. I've unassigned myself from the bug for now:
 
   https://bugs.launchpad.net/devstack/+bug/995287

Should we make python setup.py install do this if gettext is installed?
Or keep it as a separate step for people who care?

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev