i18n, RT#12515
[freeside.git] / FS / FS / Setup.pm
index 29ca9a8..fec1c2d 100644 (file)
@@ -53,6 +53,8 @@ sub create_initial_data {
   populate_access();
 
   populate_msgcat();
+
+  populate_numbering();
   
   if ( $oldAutoCommit ) {
     dbh->commit or die dbh->errstr;
@@ -60,6 +62,11 @@ sub create_initial_data {
 
 }
 
+sub populate_numbering {
+  eval "use FS::lata_Data;"; # this automatically populates the lata table, if unpopulated
+  eval "use FS::msa_Data;"; # this automatically populates the msa table, if unpopulated
+}
+
 sub populate_locales {
 
   use Locale::Country;
@@ -96,7 +103,7 @@ sub populate_addl_locales {
 
 sub _add_country {
 
-  use Locale::SubCountry;
+  use Locale::SubCountry 1.44;
 
   my( $country ) = shift;