Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
also sprach Giacomo A. Catenazzi [EMAIL PROTECTED] [2007.11.27.1443 +0100]: BTW madduck: there is some news about the project? No. I am too busy to do anything on this. -- .''`. martin f. krafft [EMAIL PROTECTED] : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems be the change you want to see in the world -- mahatma gandhi digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)
Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
CC: to madduck. IIRC he is rewriting the locales for Switzerland, so probably he could do quickly also for Liechtenstein too. BTW madduck: there is some news about the project? ciao cate Christian Perrier wrote: reassign 453041 locales retitle 453041 Please provide a locale for German/Liechtenstein severity 453041 wishlist thanks Quoting Josef Vogt ([EMAIL PROTECTED]): Package: installation-reports Version: When installing debian, when choosing German as language, the country Liechtenstein isn't in the list for German speaking countries. It would be nice also Liechtenstein having in this list, because German is the only official language in Liechtenstein. Countries that are displayed after the language selection are countries for which a locale with the given language exists in the locales package. Not countries for which the given language is an official language. This is often the same list because, of course, locales have been written for language/country combinations that make sense. The solution to this problem is writing a de_LI locale, which would definitely make sense. Writing locales is not that hard: pick up a similar locale on your system (/usr/share/i18n/locales/de_DE) and modify the country-dependent parts to fit the new country. Then name it appropriately (here de_LI). It of course needs some knwoledge of the said country and the said language. The only tricky part is that locales files use U notations which makes writing them quite tricky. Thankfully, Denis Barbier wrote the attached scripts, in the past, that help converting file back and forth from UTF-8 to U notation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
Quoting Giacomo A. Catenazzi ([EMAIL PROTECTED]): CC: to madduck. IIRC he is rewriting the locales for Switzerland, so probably he could do quickly also for Liechtenstein too. BTW madduck: there is some news about the project? In case madduck is too busy elsewhere, I can quite probably hack down a quick locale for de_LI. After all, this is only a matter of getting information about the country which may be easily found here and there. The language part is of course assumed to be well covered by picking another german-based locale (either de_CH or de_DE...they're probably similar when it comes at language even if some would say that German in Switzerland is different from German in Germany...at least for written language, I guess both are identical). signature.asc Description: Digital signature
Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
Quoting Giacomo Catenazzi ([EMAIL PROTECTED]): It is not only about languages, but also about numbers and currencies and other conventions. Here a proposal for de_LI. Btw *that* I knew..:) What I wanted to say is that even without being a native speaker, It's pretty easy to adapt de_CH to de_LI as long as one takes care to pick up the country-related data (including local conventions...) from easily available information. And, as your proposed locale showsthere are not that many things to change, indeedas even the currency is the same in CH and LI. To locales maintainers: I think you can quite safely adopt that locale file. signature.asc Description: Digital signature
Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
Christian Perrier wrote: Quoting Giacomo A. Catenazzi ([EMAIL PROTECTED]): CC: to madduck. IIRC he is rewriting the locales for Switzerland, so probably he could do quickly also for Liechtenstein too. BTW madduck: there is some news about the project? In case madduck is too busy elsewhere, I can quite probably hack down a quick locale for de_LI. After all, this is only a matter of getting information about the country which may be easily found here and there. The language part is of course assumed to be well covered by picking another german-based locale (either de_CH or de_DE...they're probably similar when it comes at language even if some would say that German in Switzerland is different from German in Germany...at least for written language, I guess both are identical). It is not only about languages, but also about numbers and currencies and other conventions. Here a proposal for de_LI. Btw a good documentation about the format is in: http://std.dkuug.dk/jtc1/sc22/wg20/docs/n822-dtr14652.pdf comment_char % escape_char / % % German locale for Liechtenstein % Language: de % Territory: LI % Revision: 1.0 % Date: 2007-11-27 % Users: general % Repertoiremap: mnemonic.ds % Charset: ISO-8859-1 % Distribution and use is free, also % for commercial purposes. LC_IDENTIFICATION title German locale for Liechtenstein source address contact email [EMAIL PROTECTED] tel fax language German territory Liechtenstein revision 1.0 date 2007-11-27 % category de_LI:2000;LC_IDENTIFICATION category de_LI:2000;LC_CTYPE category de_LI:2000;LC_COLLATE category de_LI:2000;LC_TIME category de_LI:2000;LC_NUMERIC category de_LI:2000;LC_MONETARY category de_LI:2000;LC_MESSAGES category de_LI:2000;LC_PAPER category de_LI:2000;LC_NAME category de_LI:2000;LC_ADDRESS category de_LI:2000;LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE copy de_CH END LC_CTYPE LC_COLLATE copy de_CH END LC_COLLATE LC_MESSAGES copy de_CH END LC_MESSAGES LC_MONETARY copy de_CH END LC_MONETARY LC_NUMERIC copy de_CH END LC_NUMERIC LC_TIME copy de_CH END LC_TIME LC_PAPER copy de_CH END LC_PAPER LC_TELEPHONE tel_int_fmtU002BU0025U0063U0020U0025U0061U0020U0025/ U006C int_prefix U0034U0032U0033 END LC_TELEPHONE LC_MEASUREMENT copy de_CH END LC_MEASUREMENT LC_NAME copy de_CH END LC_NAME LC_ADDRESS postal_fmtU0025U0066U0025U004EU0025U0061U0025U004E/ U0025U0064U0025U004EU0025U0062U0025U004EU0025U0073/ U0020U0025U0068U0020U0025U0065U0020U0025U0072U0025/ U004EU0025U0025U007AU0020U0025U0054U0025/ U004EU0025U0063U0025U004E country_ab2 U004CU0049 country_ab3 U004CU0049U0045 country_num 438 END LC_ADDRESS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
Quoting Giacomo Catenazzi: LC_TELEPHONE tel_int_fmtU002BU0025U0063U0020U0025U0061U0020U0025/ U006C int_prefix U0034U0032U0033 END LC_TELEPHONE There's a little mistake; In the line int_prefix is a to much. The rest seems all correct to me, thanks a lot. I would have done it myself, but you were a little faster... I think this bug report can be closed, when a local maintainer adopts the file. So the file would be now (I only changed the int_prefix line): comment_char % escape_char / % % German locale for Liechtenstein % Language: de % Territory: LI % Revision: 1.0 % Date: 2007-11-27 % Users: general % Repertoiremap: mnemonic.ds % Charset: ISO-8859-1 % Distribution and use is free, also % for commercial purposes. LC_IDENTIFICATION title German locale for Liechtenstein source address contact email [EMAIL PROTECTED] tel fax language German territory Liechtenstein revision 1.0 date 2007-11-27 % category de_LI:2000;LC_IDENTIFICATION category de_LI:2000;LC_CTYPE category de_LI:2000;LC_COLLATE category de_LI:2000;LC_TIME category de_LI:2000;LC_NUMERIC category de_LI:2000;LC_MONETARY category de_LI:2000;LC_MESSAGES category de_LI:2000;LC_PAPER category de_LI:2000;LC_NAME category de_LI:2000;LC_ADDRESS category de_LI:2000;LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE copy de_CH END LC_CTYPE LC_COLLATE copy de_CH END LC_COLLATE LC_MESSAGES copy de_CH END LC_MESSAGES LC_MONETARY copy de_CH END LC_MONETARY LC_NUMERIC copy de_CH END LC_NUMERIC LC_TIME copy de_CH END LC_TIME LC_PAPER copy de_CH END LC_PAPER LC_TELEPHONE tel_int_fmtU002BU0025U0063U0020U0025U0061U0020U0025/ U006C int_prefix U0034U0032U0033 END LC_TELEPHONE LC_MEASUREMENT copy de_CH END LC_MEASUREMENT LC_NAME copy de_CH END LC_NAME LC_ADDRESS postal_fmtU0025U0066U0025U004EU0025U0061U0025U004E/ U0025U0064U0025U004EU0025U0062U0025U004EU0025U0073/ U0020U0025U0068U0020U0025U0065U0020U0025U0072U0025/ U004EU0025U0025U007AU0020U0025U0054U0025/ U004EU0025U0063U0025U004E country_ab2 U004CU0049 country_ab3 U004CU0049U0045 country_num 438 END LC_ADDRESS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
Package: installation-reports Version: When installing debian, when choosing German as language, the country Liechtenstein isn't in the list for German speaking countries. It would be nice also Liechtenstein having in this list, because German is the only official language in Liechtenstein. When choosing other, it is possible to select it then, but the local keyboard settings seem to be wrong, because they are German instead of Swiss German (should be the same as selecting Switzerland as country). I am using Debian GNU/Linux Lenny (Testing), kernel 2.6.22-2-686 Greetings Josef -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#453041: Country Liechtenstein not in country list when selecting German as language in installer
reassign 453041 locales retitle 453041 Please provide a locale for German/Liechtenstein severity 453041 wishlist thanks Quoting Josef Vogt ([EMAIL PROTECTED]): Package: installation-reports Version: When installing debian, when choosing German as language, the country Liechtenstein isn't in the list for German speaking countries. It would be nice also Liechtenstein having in this list, because German is the only official language in Liechtenstein. Countries that are displayed after the language selection are countries for which a locale with the given language exists in the locales package. Not countries for which the given language is an official language. This is often the same list because, of course, locales have been written for language/country combinations that make sense. The solution to this problem is writing a de_LI locale, which would definitely make sense. Writing locales is not that hard: pick up a similar locale on your system (/usr/share/i18n/locales/de_DE) and modify the country-dependent parts to fit the new country. Then name it appropriately (here de_LI). It of course needs some knwoledge of the said country and the said language. The only tricky part is that locales files use U notations which makes writing them quite tricky. Thankfully, Denis Barbier wrote the attached scripts, in the past, that help converting file back and forth from UTF-8 to U notation. -- #! /usr/bin/perl -C1 use encoding 'utf8'; sub c { my $text = shift; my $ret = ''; my $lastpos = 0; while ($text =~ m/\G(.*?)U()/g) { $lastpos = pos($text); $ret .= $1; my $n = hex($2); if ($n 0x80) { $ret .= pack(U, $n); } elsif ($n 0xc0) { $ret .= pack(UU, 0xc2, $n); } elsif ($n 0x100) { $ret .= pack(UU, 0xc3, $n 0xbf); } else { $ret .= pack(U, $n); } } return $ret.substr($text, $lastpos); } my $last = ''; while () { if ($last ne '') { $_ = $last . $_; $last = ''; } if (m/\/\s*$/s) { s/\/\s*$//s; $last = $_; next; } s/([^]*)/''.c($1).''/eg; s/;\s*/;/g; print; } #! /usr/bin/perl -C1 sub c { my $text = shift; my $convert_ascii = shift; my $ret = ''; while ($text =~ s/(.)//) { $l = unpack(U, $1); if ($convert_ascii == 0 $l 0x80) { $ret .= $1; } else { $ret .= sprintf U%04X, $l; } } return $ret; } my $convert_ascii = 1; while () { if (/^LC_IDENTIFICATION/) { $convert_ascii = 0; } elsif (/^END LC_IDENTIFICATION/) { $convert_ascii = 1; } my $conv = $convert_ascii; $conv = 0 if (/^(copy|include)/); s/([^]*)/''.c($1, $conv).''/eg; print; } signature.asc Description: Digital signature