The following patch to partitioner/main.c finally makes cfdisk really use the translation it has on i386 platforms.
Some drawbacks remain, however, as it, for instance, does not properly display french in the d-i terminal. Any high ASCII characters breaks the display and the remaining characters are not displayed. This draws a warning when compiling. Less incompetent programmers will probably be able to correct this. --- partitioner/main.c 2004-01-13 16:47:36.000000000 +0100 +++ partitioner.new/main.c 2004-01-13 18:52:56.000000000 +0100 @@ -171,6 +171,7 @@ char *cmd_script = NULL; char *cmd = NULL; char *disk = NULL; + char *language = NULL; debconf_subst(debconf, "partitioner/disc", "DISCS", choices); debconf_fset(debconf, "partitioner/disc", "seen", "false"); @@ -186,6 +187,12 @@ cmd_script = execute_fdisk(); disk = extract_choice(debconf->value); + /* Hack for translated fdisks (mostly cfdisk) to be + translated */ + debconf_get(debconf, "debian-installer/language"); + language = extract_choice(debconf->value); + setenv("LANGUAGE", language, "1"); + if (strcmp(disk,"false") != 0) { asprintf(&cmd, "/bin/sh %s %s </dev/tty >/dev/tty 2>/dev/tty", cmd_script, disk); -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]