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

Re: L10n of Debconf templates



* Brian May 

| On Fri, Apr 19, 2002 at 10:00:31AM +0200, Michael Piefel wrote:
| > Am 19.04.02 um 00:05:14 schrieb Tollef Fog Heen:
| > > Would anybody weep if we deprecated putting all the translations in
| > > one file?
| > 
| > I wouldn't weep. Seperate files is a very reasonable thing to do.
| 
| Dumb question of the day: how do you put it in a seperate file?
| 
| What should this seperate file be called, etc?

>From man dh_installdebconf:

LOCALIZED TEMPLATE FILES
       Debconf also supports localized template files, and this program has
       some support to aid working with them. You may find it easiest to
       keep the translations in separate files, and merge them only at
       build time. See debconf-mergetemplate(1) and debconf-getlang(1) for
       details.

       This program will automatically call debconf-mergetemplate and merge
       templates on the fly if it finds your template files are accompanied
       by translated files that have the same name as the template file,
       with a dot and a locale name repended.

       For example, if you have a German translation, debian/package.tem­
       plates.de is merged with debian/package.templates.

-- 
Tollef Fog Heen                                                  ,''`.   
                                                                : :' :   
Unix _IS_ user friendly... It's just                            `. `'    
selective about who its friends are.                              `-     


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: