On Tue, 21 Jul 2009 22:54:34 +0100, Paul McNett <[email protected]> wrote:
> Could you modify dLocalize.py:
>
>> pmcn...@lin:~/dabo/dabo$ svn diff
>> Index: dLocalize.py
>> ===================================================================
>> --- dLocalize.py (revision 5299)
>> +++ dLocalize.py (working copy)
>> @@ -73,6 +73,8 @@
>> daboTranslation = None
>> daboLocaleDir = _domains.get("dabo", None)
>> if daboLocaleDir:
>> + import os
>> + print daboLocaleDir, os.path.exists(daboLocaleDir)
>> daboTranslation = gettext.translation("dabo", daboLocaleDir,
>> languages=lang, codeset=charset)
>> # daboTranslation.install() ## No, don't globally bind _
>> _currentTrans = daboTranslation.ugettext
>
> Run a dabo app and then post the output of the print statement? Mine is:
>
> /home/pmcnett/dabo-full/trunk/dabo/locale True
/usr/local/lib/python2.6/dist-packages/dabo/locale False
The files actually ended up in /usr/local/dabo/locale for some reason,
so a quick symlink fixed this problem.
--
Rhodri James *-* Wildebeest Herder to the Masses
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/op.uxfu4m2da8n...@gnudebst