lib/I18N/LangTags/t/05_main.t See whether I18N::LangTags works
lib/I18N/LangTags/t/07_listy.t See whether I18N::LangTags works
lib/I18N/LangTags/t/10_http.t See whether I18N::LangTags works
+lib/I18N/LangTags/t/20_locales.t See whether I18N::LangTags works
lib/I18N/LangTags/t/50_super.t See whether I18N::LangTags works
lib/I18N/LangTags/t/55_supers_strict.t See whether I18N::LangTags works
lib/I18N/LangTags/t/80_all_env.t See whether I18N::LangTags works
-# Time-stamp: "2004-07-01 14:34:40 ADT"
+# Time-stamp: "2004-10-06 23:26:33 ADT"
# Sean M. Burke <sburke@cpan.org>
require 5.000;
);
%EXPORT_TAGS = ('ALL' => \@EXPORT_OK);
-$VERSION = "0.33";
+$VERSION = "0.35";
sub uniq { my %seen; return grep(!($seen{$_}++), @_); } # a util function
return $lang if &is_language_tag($lang); # like "en"
$lang =~ tr<_><->; # "en_US" -> en-US
- $lang =~ s<\.[-_a-zA-Z0-9\.]*><>s; # "en_US.ISO8859-1" -> en-US
+ $lang =~ s<(?:[\.\@][-_a-zA-Z0-9]+)+$><>s; # "en_US.ISO8859-1" -> en-US
+ # it_IT.utf8@euro => it-IT
return $lang if &is_language_tag($lang);
=head1 COPYRIGHT
-Copyright (c) 1998-2004 Sean M. Burke. All rights reserved.
+Copyright (c) 1998+ Sean M. Burke. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Revision history for Perl module I18N::LangTags.
- Time-stamp: "2004-07-01 14:28:23 ADT"
+ Time-stamp: "2004-10-06 23:26:53 ADT"
+2004-10-06 Sean M. Burke sburke@cpan.org
+
+ * Release 0.35
+
+ Bugfix version: locale2language_tag now correctly understands
+ locale-IDs with at-signs in them, like 'it_IT.utf8@euro' or
+ 'it_IT@euro'. This is now enforced by the new t/20_locales.t
+
+ Thanks to Luca 'loopback' Cavalli for letting me know about these
+ new locale-ID name-styles.
+
+
+ * Release 0.34 -- never happened, because of an upload error
+
+
2004-07-01 Sean M. Burke sburke@cpan.org
* Release 0.33
require 5;
package I18N::LangTags::List;
-# Time-stamp: "2003-10-10 17:39:45 ADT"
+# Time-stamp: "2004-10-06 23:26:21 ADT"
use strict;
use vars qw(%Name %Is_Disrec $Debug $VERSION);
-$VERSION = '0.29';
+$VERSION = '0.35';
# POD at the end.
#----------------------------------------------------------------------
=head1 COPYRIGHT AND DISCLAIMER
-Copyright (c) 2001,2002,2003 Sean M. Burke. All rights reserved.
+Copyright (c) 2001+ Sean M. Burke. All rights reserved.
You can redistribute and/or
modify this document under the same terms as Perl itself.
README for I18N::LangTags
- Time-stamp: "2001-05-29 21:52:15 MDT"
+ Time-stamp: "2004-10-06 23:19:39 ADT"
I18N::LangTags
COPYRIGHT
-Copyright 1998-2001, Sean M. Burke <sburke@cpan.org>, all rights
+Copyright 1998+, Sean M. Burke <sburke@cpan.org>, all rights
reserved.
The programs and documentation in this dist are distributed in