[Bug 634515] Review Request: python-zope-i18n - Zope Internationalization Support

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 17 00:02:35 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=634515

--- Comment #3 from Toshio Ernie Kuratomi <a.badger at gmail.com> 2010-09-16 20:02:34 EDT ---
Created attachment 447865
  --> https://bugzilla.redhat.com/attachment.cgi?id=447865
patch to zope.i18n to look for locale data files in FHS compliant location

This simple patch is likely upstreamable  (I've had good luck with similar
patches to other upstream projects).  The way it works is to first check for
the directory that is standard in upstream.  In this case,
%{python_sitelib}/zope/i18n/locales/data.  If that exists and is readable, then
it's used.  If it's not, then we set the directory to search in for the locale
files to %{_datadir}/zope/i18n/locales/data (You can change this if you think
another location under %{_datadir} is better).

As developers, in eggs, and virtualenvs, the directory exists in the module and
therefore, that is used just like now.  As system packagers, we move the
directory into %{_datadir} so the system package uses that instead.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list