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 927496ecd0
commit 35a7f81654

View File

@ -401,6 +401,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]