Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in addition to LANG one.

This commit is contained in:
Tommaso Cucinotta 2012-12-09 20:20:05 +00:00
parent 25ef8e7eef
commit aad1f4ce78

View File

@ -402,6 +402,10 @@ while not failed:
ccode = lang[0:idx]
else:
ccode = lang
print "Setting LANGUAGE=" + ccode + "\n"
os.environ['LANGUAGE'] = ccode
idx = lang.find("_")
if idx != -1:
short_code = lang[0:idx]