Hi Max,

Very cool! Integrating with tg-admin should be quite simple. Take a
look at setup.py, and you'll see where the entry points are defined
for the existing commands. That's how you add a command: you just put
a pointer to the class there. To see how the other commands are
implemented, take a look at turbogears/command/base.py.

Kevin

On 12/29/05, Max Ischenko <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have written a command line tool to manage i18n data, along the lines
> of how admi18n web interface work (and re-using the same
> msgfmt/pygettext tools). It's a standalone script now but only because
> I haven't figured out how to integrate it directly with tg-admin.
> Supported commands are: scan, add <locale>, merge, compile and clean.
>
> How should I proceed if I want this functionality to be included in the
> next TG release? There seems to be a corresponding ticket - #126.
>
> The script itself is here: http://max.textdriven.com/ i18n-admin.py.txt
> (temporarily).
>
> Max // maxischenko.in.ua
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to