Użytkownik Carl Karsten napisał:
> Is this new? on a working box I see:
>
> (veyepar)c...@dc10:~/src/veyepar$ python -c 'import dabo'
> 2010-10-31 09:26:49 - ERROR -
> No translation file found for domain 'dabo'.
> Locale dir =
> /home/carl/src/veyepar/lib/python2.6/site-packages/dabo/locale
> Languages = ['en_US']
> Codeset = UTF8
>
Just copy 'locale/en' directory to 'locale/en_US' or create symlink:
ln -s en en_US
There is assumption made that 'en' refers to American locale I guess.
> (veyepar)c...@dc10:~/src/veyepar$ locate dabo.pot dabo.mo
> /home/carl/src/veyepar/lib/python2.6/site-packages/dabo/locale/dabo.pot
>
>
>> But no, it's not correct language file location.
>> The correct one is 'dabo/locale/<lang-id>/LC_MESSAGES/dabo.mo'.
>>
> Um, .mo or .pot?
>
The .po is source file which need to be compiled to .mo file
to be useful for gettext package.
--
Regards
Jacek Kałucki
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]