I seem to need this to let the 'Lang' keyword work, within *-in.txt files.

This commit is contained in:
Tommaso Cucinotta 2013-07-23 02:10:48 +01:00
parent b32ce2cf08
commit cf973b2f3a

View File

@ -407,7 +407,7 @@ while not failed:
lang = c[5:].rstrip()
print "Setting LANG=" + lang + "\n"
os.environ['LANG'] = lang
os.environ['LANGUAGE'] = lang
os.environ['LC_ALL'] = lang
# If it doesn't exist, create a link <locale_dir>/<country-code>/LC_MESSAGES/lyx<version-suffix>.mo
# pointing to the corresponding .gmo file. Needed to let lyx find the right translation files.
# See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165613.html