update pot and add locale options to xgetpo script
[squirrelmail.git] / po / xgetpo
index df61ad2a6f96583cd961865c69de2b3878e1c487..a28291bedb096b3df556433f8e16c88a299ca3b7 100755 (executable)
--- a/po/xgetpo
+++ b/po/xgetpo
@@ -7,6 +7,13 @@
 # ** 
 # **  $Id$
 #
+
+# force use of same locale in order to keep same sorting order
+LC_ALL=en_US.ISO8859-1
+LANG=en_US.ISO8859-1
+export LC_ALL LANG
+
+# set common gettext options
 XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --keyword=ngettext:1,2 --default-domain=squirrelmail --no-location --add-comments"
 
 # Allows controlling language option