I've written a small tool to check the content of locale files for some common mistakes. Check <URL:http://www.student.uit.no/~pere/linux/glibc/check-locale>, and let me know if you have any suggested improvements.