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

Re: encodings for debconf templates



On Tue, Jul 02, 2002 at 09:04:34PM +0900, Tomohiro KUBOTA wrote:
> Hi,
> 
> I am now trying to solve Bug#148490, where Debconf cannot convert
> translated messages (like Description) into proper encoding according
> to the current LC_CTYPE locale.
> 
> (For example, messages should be outputed in UTF-8 in fr_FR.UTF-8
> locale while ISO-8859-15 should be used in fr_FR@euro locale.)
> 
> 
> However, for the script to work well, I have to know what encodings
> are the original debconf translations written in.  For example,
> Japanese translations (Description-ja:) are written in EUC-JP
> encoding and Polish translations are written in ISO-8859-2 encoding.
> 
> A list of already-translated languages is available in the
> page of http://www.debian.org/international/l10n/templates/ .
> 


> ca     ISO-8859-1 ? ISO-8859-15 ?

what language is this?

> fi     ISO-8859-1 ? ISO-8859-15 ?

ISO-8859-2, or ISO-8859-15.
However, in practise, (insufficient) ISO-8859-1 is used.
(all these encodings share used codepoints from ISO-8859-1,
so they are practically 100% upwards compatible)

> lt     ISO-8859-13

or ISO-8859-4
However, the only debconf template in lithuanian is
in package maintained by me :-), and that uses ISO-8859-13

> ro     ISO-8859-2

Wrong. ISO-8859-2 was used because of lack of better
encoding, but is not sufficient for romanian.
ISO-8859-16 should be used.

> ru     KOI8-R ? ISO-8859-5 ?

almost exclusively KOI8-R for linux.

> se     ?
> sv     ISO-8859-1 ? ISO-8859-15 ?

isn't it se_SV? (se is language name - swedish, SV country - Sweden)

> 
> 
> Or, to internationalize Debconf, it may be a good idea to convert
> all Debconf templates into UTF-8.  The merits of this way are

And I'd really welcome it. Btw what happens if I do it manually?
Would your script be confused and fail?


-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!


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



Reply to: