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

Re: [debian-devel] Packages still using old-style debconf

>--[Tollef Fog Heen]--<tfheen@raw.no>

> Or they don't want to break their packages because of gettext having a
> braindead design:
> xgettext: Non-ASCII string at ../wnorwegian.templates.in:5.
>           Please specify the source encoding through --from-code.

Actually it's not a broken design; your text is broken. The strings fed to
gettext are what is returned in locale C; however, locale C uses ASCII and
not latin1 or anything else. So you indeed have to transliterate the stuff
you want to have - and make a en_US translation with the untransliterated

         100 DM =  51  € 13 ¢.
         100  € = 195 DM 58 pf.

Reply to: