"Sergei Butakov" butsergej@yandex.ru wrote:
Probably you just need to set LC_MESSAGES to en_US.
Do you mean # export LANG="POSIX" # export LC_CTYPE="ru_RU.CP1251" # export LC_COLLATE="ru_RU.CP1251" # export LC_MESSAGES="en_US" ? That's don't work.
I mean LANG="ru_RU.CP1251", LC_MESSAGES="en_US". Your intent is to avoid russian menus and messages, right?
Is there reason don't check LC_CTYPE for defining user_lcid? IMHO no.
There is already a test for LC_CTYPE a couple of lines below your changes.