Revision history for CGI-Lingua 0.22 Wed Aug 10 13:46:42 EDT 2011 Fixed unitialised variable in some circumstances when checking language 0.21 Wed Jul 20 13:39:57 EDT 2011 Added locale method Had another go at returning sensible values if a requested sublanguage can't be honoured Added test for RT69509 0.20 Fixed some 'Can't call method "name" on an undefined value' when the browser suggests more than one language and a requested sublanguage isn't available 0.19 More sensible choice of real world language requirements, for example a browser requesting US English on a site that only delivers British English will now see the site, AND the site author will be able to trace with variables what's happened if he or she wants to correctly support more variants Added some extra tests Corrected the cross reference to ISO639. 0.18 Wed Jun 29 11:23:18 EDT 2011 Fix test for Norwegian - the IP I was using no longer works Added pod-cm.t and kwalitee.t 0.17 Mon Jun 20 10:24:00 EDT 2011 Added test for empty HTTP_ACCEPT_LANGUAGE with IP given Prefer Net::Whois::IP over Net::Whois::IANA Fix search where IP address gives lanauge such as Norwegian (Nynorsk), in which case we now search for Norwegian 0.16 Sat May 28 16:38:58 EDT 2011 Give an example of the use of the country method Better unique names for the cache keys to avoid clashes Handle unrecognised requested language 0.15 Mon Feb 21 19:14:45 EST 2011 Added country() 0.14 Mon Jan 10 20:02:41 EST 2011 Sometimes language would return 'undefined' 0.13 Wed Jan 5 09:42:05 GMT 2011 Attempt to fix http://www.cpantesters.org/cpan/report/eae7b808-172d-11e0-a672-41e7f2486b6f, though I can't reproduce it 0.12 Mon Jan 3 11:27:25 GMT 2011 Added name() and code_alpha2() 0.11 Tue Dec 14 21:31:54 EST 2010 Added the cache option to new. This should speed up Whois lookups Inadvertantly said that the Perl licence is used, in fact it's GPL 0.10 Sat Dec 11 09:59:10 EST 2010 Tried to catch some places where language is set to undef. I can't reproduce it so I can't be sure I've fixed it and I can't write a test Added dependency on Locale::Language 0.09 Sat Dec 4 11:43:12 EST 2010 Fix spelling mistake Handle Whois thinking Hong Kong is a country 0.08 Wed Dec 1 13:31:04 EST 2010 Handle some cases where the language can't be determined from the IP address 0.07 Thu Nov 25 10:01:09 EST 2010 Another attempt to use Net::Whois::IP when Net::Whois::IANA fails Improved testing 0.06 Tue Nov 23 21:07:48 EST 2010 Fix test on Windows If Net::Whois::IANA fails, try Net::Whois::IP 0.05 Thu Nov 18 19:19:00 EST 2010 Fix test which could fail if you have $LANG set 0.04 Wed Nov 17 09:55:49 EST 2010 Cope with I18N::LangTags::Detect failing to detect anything 0.03 Tue Nov 16 10:40:54 EST 2010 Tidied the documentation Tests that CGI::Lingua->requested_language is not undefined Fixed the MANIFEST file (RELEASE_TESTING=1 make test) 0.02 Mon Nov 15 08:11:04 EST 2010 Added dependencies 0.01 Sun Nov 14 19:01:15 EST 2010 First draft