diff --git a/utils/country_languages.php b/utils/country_languages.php new file mode 100755 index 00000000..8360ae66 --- /dev/null +++ b/utils/country_languages.php @@ -0,0 +1,34 @@ +#!/usr/bin/php -Cq + $s) + { + $aLanguages[$i] = '"'.pg_escape_string($s).'"'; + } + echo "UPDATE country_name set country_default_language_codes = '{".join(',',$aLanguages)."}' where country_code = '".pg_escape_string($aMatch[1])."';\n"; + } + } + }