[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Project Hijra released, Hijri/Islamic Calendar released under Waqf public license



On Thu, Apr 03, 2008 at 04:03:02PM +0300, Muayyad AlSadi wrote:
> now I need help in translation or suggestions:
> option 1:
>     using python dictionaries
>     i18n={}
>     i18n["days"]=["sat","sun",...]
>     like moin moin and other similar applications
>     as we don't have many things to translate
> option 2:
>     using gettext

I'd suggest using gettext, it is supporior to other solutions.

> 
> -------------
> where to put .py files so that they are imported like this
> import hijri
> I think it's something /usr/share/python-support/Hijra/
> ..etc.

See http://docs.python.org/lib/module-distutils.html

> 
> -------------
> how to add it to default KDE and GNOME session (something like startup)

See http://gentoo-wiki.com/HOWTO_Autostart_Programs

-- 
 Khaled Hosny

Attachment: signature.asc
Description: Digital signature