Re: Why does cfdisk only still speak english? Locales package is missing.
Christian Perrier <bubulle@debian.org> writes:
>
> But, even this incomplete french translation is not used in
> d-i. cfdisk *always* uses english.
I suppose that main-menu should set the variable LANGUAGE. With this
variable cfdisk tries to speak French. This is what I do:
First get a quick d-i shell prompt:
make TYPE=<here_some_type_with_cfdisk> shell
And then:
# LANGUAGE=fr
# export LANGUAGE
# cfdisk /dev/ide/host0/bus0/target0/lun0/disc
And this is the result I get:
cfdisk 2.12
Unit
Size: 122942324736 bytes, 122.9 GB
Heads: 16 Sectors per Track: 63 Cylinders: 238216
Nom Fanions Part Type Type SF [ Size (MB)
------------------------------------------------------------------------------
disc3 Primaire Linux 2146.80*
disc5 Logique Linux 6333.47*
disc6 Logique Linux ext2 [HOME] 10001.95*
disc7 Logique Linux ext2 [USR] 10001.95*
disc8 Logique Linux ext2 [DEBIAN] 29997.60*
Logique Espace libre 98.71*
disc9 Logique Linux 1003.49*
disc10 Logique Linux ext2 12847.89*
disc11 Logique Linux ext3 1003.49*
disc12 Logique Linux ext3 5502.72*
disc13 Logique Linux ext2 1900.04*
[Amor [D [ Aide ] [Maximiser] [Afficher]
[Quitter ] [ Type ] [ Unit [
Basculer le fanion d'amorce pour la partition courante
I supposed that the problems were caused by incomplete translation but
now I see that the problem is different. The text breaks at some of the
non-ASCII symbols. For example cfdisk prints "Unit" instead of "Unité
de disque", "[" instead of "[Étiq.]", "[Amor" instead of "[Amorçable]",
etc.
On the other hand the German umlauts are showed. I don't know what
makes the difference. Maybe there is some bug in the locale C.UTF-8.
Anton Zinoviev
Reply to: