The problem with 'locale -a' listing nonexisting locales was fixed in upstream CVS 2002-08-26. It made into release 2.3.1.