Comment 3 for bug 995287

Revision history for this message
Mark McLoughlin (markmc) wrote : Re: actually use translated strings

Came up here again: http://lists.openstack.org/pipermail/openstack-dev/2013-January/004289.html

In Nova, we do:

  gettext.install('nova', unicode=1)

but we install our .po message catalogs in $sitelib/nova/locale

However, by default gettext looks for the binary .mo message catalogs in /usr/share

So, we need (1) to ensure we compile the message catalogs using babel at install time and (2) tell gettext to look for wherever we install them if we don't install them in /usr/share/local