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

Bug#279085: tasksel: Support executable .desc scripts



On Fri, Nov 05, 2004 at 11:27:11AM +0100, Free Ekanayaka wrote:
[...]
>   DB> Out of curiosity, how do you manage translations when tasks are
>   DB> dynamically created?
> 
>   FE> That's a problem  I did not take into  account. Is there  any straight
>   FE> solution?

Tasksel prints translated tasks with help from gettext, so they can
be displayed if translations have been previously written into
/usr/share/locale/<LOCALE>/LC_MESSAGES/debian-tasks.mo compiled files
('debian-tasks' textdomain is hardcoded, not sure if this is a good
thing).

> This morning I  got some  light. My  plan is to  eventually write some
> code   for  generating the task  desc  on  the  fly  using the debtags
> databse, whose tags do have support for translation.

/usr/share/doc/debtags/README.Debian.gz has some words about i18n,
but it seems that nothing has been implemented, so AFAICT translations
are not supported.  

Denis



Reply to: