Announcement

Collapse
No announcement yet.

getting the wrong language and dates in Firefox and the GIMP

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    getting the wrong language and dates in Firefox and the GIMP

    I am a USA person living in Thailand, but I do not speak or read the Thai language much. I installed Kubuntu 14.04 Trusty Tahr on a desktop computer here. My default language is US English.

    On some dialogs in Firefox and the GIMP, Thai language is showing up, and Firefox is showing Thai dates (in Thailand, this is year 2557, not 2014).

    See the attachements.

    I do not want Thai text or dates, I want English text and Gregorian dates.

    Can this be fixed?

    Thanks,
    Attached Files

    #2
    As far ask KDE goes your 2nd graphic shows that you are on the right tabs, but you must adjust the settings in all of the tabs, not just the "Language" tab.
    Log off KDE and log back in.


    For FireFox: Edit --> Preferences --> Content --> Language
    Add "English/United States [en-us]" if it is not showing in the list, move it to the top, then select and remove the other language options.
    Close and re-open FF.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      What is the command 'locale' telling ?

      A bug report- Changing country leads to invalid locale: https://bugs.launchpad.net/ubuntu/+s...e/+bug/1322968
      A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
      Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

      Comment


        #4
        > What is the command 'locale' telling ?

        locale
        LANG=en_US.UTF-8
        LANGUAGE=en:zh:th: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=

        I attach screen shots of all the locale tabs, and the language dialog in Firefox.

        I do not see why I am getting Thai language and dates in Firefox and the GIMP.

        Thanks,
        Attached Files

        Comment


          #5
          Take a look at /etc/default/locale
          cat /etc/default/locale
          Likey the second line is showing:

          LANGUAGE=en:zh:th:en

          If so, edit the file:
          kdesudo kate /etc/default/locale
          and change that line to:

          LANGUAGE=en_US
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Here is my /etc/default/locale:

            LANG="en_US.UTF-8"
            LC_NUMERIC="th_TH.UTF-8"
            LC_TIME="th_TH.UTF-8"
            LC_MONETARY="th_TH.UTF-8"
            LC_PAPER="th_TH.UTF-8"
            LC_NAME="th_TH.UTF-8"
            LC_ADDRESS="th_TH.UTF-8"
            LC_TELEPHONE="th_TH.UTF-8"
            LC_MEASUREMENT="th_TH.UTF-8"
            LC_IDENTIFICATION="th_TH.UTF-8"

            The LANG line is right, but every other line is WRONG!

            I will change every line to en_US.UTF-8

            I am also getting the wrong language on Chrome dialogs, see the attached.

            After I log out and back in, I will confirm the result.
            Attached Files

            Comment


              #7
              I left this line as is:

              LC_PAPER="th_TH.UTF-8"

              You cannot get "letter" sized paper here, only A4 size.

              But every other line I changed to en_US.UTF-8.

              I rebooted, but I am still getting the Thai language on Firefox and Chrome dialogs.

              Any suggestions?

              Thanks,

              Comment


                #8
                What's the output of cat ~/.kde/env/setlocale.sh

                Comment


                  #9
                  > What's the output of cat ~/.kde/env/setlocale.sh

                  export LANG=en_US.UTF-8
                  export LANGUAGE=en:zh:th:en
                  export LC_NUMERIC=en_US.UTF-8
                  export LC_TIME=en_US.UTF-8
                  export LC_MONETARY=en_US.UTF-8
                  export LC_PAPER=en_US.UTF-8
                  export LC_IDENTIFICATION=en_US.UTF-8
                  export LC_NAME=en_US.UTF-8
                  export LC_ADDRESS=en_US.UTF-8
                  export LC_TELEPHONE=en_US.UTF-8
                  export LC_MEASUREMENT=en_US.UTF-8

                  Comment


                    #10
                    I am not having any problem with rekonq, only with Chrome, Firefox and the GIMP.

                    See the new attachement.

                    Any suggestions?

                    Thanks,
                    Attached Files

                    Comment


                      #11
                      In your original post, you show two forms of Chinese and Thai in Preferred Languages. Remove those. Next, log out of the desktop. When you see the login screen, press Ctrl+Alt+F2 to switch to a console. Run sudo locale-gen --purge en_US.utf8. Reboot for good measure.

                      Now how goes it?

                      Comment


                        #12
                        I fixed it.

                        The computer would only automatically spell check using the Thai dictionary. Selecting another dictionary did not work, I could not. So I googled and found how to remove the Thai dictionary.

                        I went to:

                        /usr/share/hunspell

                        First I deleted these symbolic links:

                        th.aff
                        th.dic

                        Then I deleted the files they links were pointing at:

                        th_TH.aff
                        th_TH.dic

                        Chrome, Firefox and the GIMP menus are now in English.

                        I hope this might be useful some day.

                        Thanks,

                        Comment

                        Working...
                        X