Re: Bug#160284: ITP: po-debconf -- Manage translated Debconf templates files with gettext
On Tue, 10 Sep 2002 21:55:29 -0400
Joey Hess <email@example.com> wrote:
My plan was to add support to debconf to use iconv to convert to
nl_langinfo(CODESET), from the template encoding (which is legacy
ISO-8859-whatever, or EUC-whatever).
That way, no transition (breakage) in terms of debconf templates files
> One concern is that I've heard that UTF-8 is really not all there for
> Japanese (Chinese?). I'm told that doing a round-trip conversion from
> Shift-JIS to UTF-8 has issues. I don't know if translators can just avoid
> those problem encodnings and write ja.po files that are already in UTF-8.
ja.po files are in EUC-JP.
> If that doesn't fly for Japanese, we might have to come up with
> something more complete, such as Encoding-ll_LL fields in the templates
> (Encoding-jp: Shift-JIS). po-debconf would then somehow decide which po
> files to re-encode as utf-8 and which to leave alone, and would add the
> appropriate Encoding fields.
Wouldn't just having "Description-ll_LL.ENCODING:" fields work fine ?
I've got a feeling that it's doable.
I can think of ways to implement that at least in C.
> Note also that the plan for debian-installer is, as I understand it, to
> make cdebconf templates always be in UTF-8.
cdebconf templates, as found in the binary udeb package.
Not the ones found in the source package,