Results 1 to 2 of 2

Thread: Foreign Language Removal

  1. #1
    Join Date
    May 2010
    Beans
    49

    Foreign Language Removal

    I had Russian language support installed previously but was unsuccessful in removing all traces of it with the language support gui. I then edited /etc/default/locale file so that it reads

    # File generated by update-locale
    LANG="en_US"
    LANGUAGE="en_US:en"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_ALL="en_US.UTF-8"

    I then removed all generated locale data and ran locale-gen to generate new locale data. After rebooting, locale file still reads the same, but when I enter the command locale, I get the following:

    LANG=ru_RU.UTF-8
    LANGUAGE=ru:en
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=en_US.UTF-8

    So how do I get rid of
    LANG=ru_RU.UTF-8 and
    LANGUAGE=ru.en?

  2. #2
    Join Date
    May 2010
    Beans
    49

    Re: Foreign Language Removal

    Problem Solved.

    While it was necessary to edit /etc/default/locale, that was not sufficient. It is also necessary to edit the file .pam_environment in the users home directory. After making .pam_environment consistent with /etc/default/locale, the problem went away

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •