-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Feb 28, 2006 at 10:58:19PM +0100, Jan de Groot wrote:
> >>From the frontpage:
> 
> Starting from glibc 2.3.6-1, locales will no longer be included as a
> pre-generated locale archive. This means that on a default glibc
> installation, the only locale available is the "C" locale.
> Instead of shipping a 50MB locale archive, glibc switches to locale-gen,
> a script that generates locales found in /etc/locale.def.
> 
> After upgrading to glibc 2.3.6-1, users should enter wanted locales
> in /etc/locale.def and run the locale-gen script afterwards.
> 
> By default /etc/locale.def is an empty file with commented
> documentation. Once edited, the file won't get touched again and
> locale-gen runs on every glibc upgrade, installing all the locales
> specified in /etc/locale.def.

After the upgrade, I'm seeing /etc/locale.gen not locale.def.  
Also, something seems wrong with the Japanese locale.  
(Although if something is wrong with it, rather than something I'm
missing, why didn't it give problems before?  Hrrm, probably something
I've done.)



After entering
ja_JP.UTF8 UTF8 I get a series of error messages


Generating locales...
  ja_JP.eucJP.../usr/share/i18n/locales/ja_JP:14876: LC_MESSAGES: unknown 
character in field `yesexpr'
/usr/share/i18n/locales/ja_JP:14878: LC_MESSAGES: unknown character in field 
`noexpr'
/usr/share/i18n/locales/ja_JP:14879: LC_MESSAGES: unknown character in field 
`yesstr'
/usr/share/i18n/locales/ja_JP:14880: LC_MESSAGES: unknown character in field 
`nostr'
/usr/share/i18n/locales/ja_JP:14886: LC_MONETARY: unknown character in field 
`currency_symbol'
/usr/share/i18n/locales/ja_JP:14913: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ja_JP:14913: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ja_JP:14913: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ja_JP:14913: LC_TIME: unknown character in field `abday'

and more of the same, ending with


LC_MESSAGES: value for field `yesexpr' must not be an empty string
LC_MESSAGES: value for field `noexpr' must not be an empty string


yesexp and noexpr aren't empty strings by the way. 

So, I'm not sure what I'm missing here.  

Thanks for any assistance.  As I maintain a moderately popular page on
Japanese input in *nix, I'd like to figure this out as quickly as
possible.

As far as I can tell, my syntax in /etc/locale.gen is correct--I just
copied over then en_US.UTF-8 one that was there and changed en_US to
ja_JP.  I didn't do anything to the locale files.  

On the other hand, this is me, so there's a good chance I broke
something unknowingly, but all I did this time was pacman -Syu,
installed glibc and then tried to edit locale-gen and then run the
locale-gen command. 



> 
> 
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch

- -- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Spike: Oh, sod the spell. Your friends are in the factory. I'm 
really glad I came here, you know? I've been all wrongheaded 
about this. weepin', crawlin', blamin' everybody else. I want 
Dru back. I've just gotta be the man I was, The man She loved. 
I'm going to do what I should have done in the first place-- I'll
 find here, wherever she is, tie her up, torture her until she 
likes me again. 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEBNbp+lTVdes0Z9YRAk3PAJ9mAI8wLV/h3uhzjLlsVuLEGFoggwCgkvdr
L24xNj6ookUpH6RtIMbedbA=
=ITy/
-----END PGP SIGNATURE-----

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to