On Fri, 2012-08-03 at 16:36 +0200, Vincent Untz wrote:
Hey,
- Fix pythons gettext
That's what we want, I guess. It seems patching the find method in gettext.py shouldn't be too hard. We could add something like:
if localedir in [None, _default_localedir]: _default_bundlelocaledir = os.path.join(sys.prefix, 'share', 'locale-bundle') bundle = find(domain, localedir=_default_bundlelocaledir, languages=languages, all=all) if bundle is not None: return bundle
Thanks a lot Vincent! I submitted SR129866 with a fix largely based on your patch (which worked almost without modification). In my tests with the few packages I had identified before work like a charm with this fix... I'm not sure how much interest an upstream could have for such a patch (are we the only ones doing bundle-lang packages?), but I might give it a shot. Best regards, Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org