Announcement

Collapse
No announcement yet.

English menus and terminal output change to Japanese

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

    English menus and terminal output change to Japanese

    thinkpad x240, only single boot with kubuntu 14.10 LTS - renate from XP and a bloody newbie!

    System language is English
    Locale > Country, Region & Language > Languages > English US (on top) Japanese (beneath) Japanese is needed to write in Japanese using IBus+Anthy. to switch between English (default) and Japanese writing.
    Locale > Country, Region & Language > Languages > English (is on top position followed by) Japanese
    Locale > Spell Checker > Default Language: English US

    Some applications display menues in Japanese instead of the default language English:
    - Evolution (email)
    - Terminal output
    - Gimp
    - Shutter
    - Planner
    - found so far not more but expect more will come up because I am still in the set-up phase.

    Altough I can read Japanese, I still prefer English when it comes to PC and SW. I even don't use my mother tongue.

    How can I change the applications from Japanese language display to English language display?

    Thanks in advance for your help!!!

    #2
    Locales ?

    What is the command:

    Code:
    locale
    telling ?

    Ubuntu doc of the locales: https://help.ubuntu.com/community/Locale
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      Thanks for your help!

      Here is the output of locale

      Code:
      rost@rost-ThinkPad-X240:~$ locale
      LANG=en_US.UTF-8
      LANGUAGE=en:ja: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=
      rost@rost-ThinkPad-X240:~$
      Thanks also for the link to the ubuntu documentation. I still need to understand a bit more...

      Comment


        #4
        Maybe

        ...with kubuntu 14.10 LTS...
        Hmm - The 14.04 is the LTS. The 14.10 is a short term support (STS) version.


        I can't reproduce the language mix up with the Kubuntu 14.10.




        The 14.04 LTS has a bug report - Changing country leads to invalid locale: https://bugs.launchpad.net/ubuntu/+s...e/+bug/1322968


        Do you have the ~/.kde/env/setlocale.sh file ?

        What is the country setting ?
        System country ?
        Japan ?
        Something else ?

        Last edited by Rog132; Jan 13, 2015, 10:55 AM.
        A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
        Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

        Comment


          #5
          ~/.kde/env/setlocale.sh file

          Code:
          export LANG=en_C.UTF-8
          export LANGUAGE=en:ja:en
          export LC_NUMERIC=en_C.UTF-8
          export LC_TIME=en_C.UTF-8
          export LC_MONETARY=en_C.UTF-8
          export LC_PAPER=en_C.UTF-8
          export LC_IDENTIFICATION=en_C.UTF-8
          export LC_NAME=en_C.UTF-8
          export LC_ADDRESS=en_C.UTF-8
          export LC_TELEPHONE=en_C.UTF-8
          export LC_MEASUREMENT=en_C.UTF-8


          What is the country setting ? System country ? Japan ?

          System country (United States of America)

          Languages:
          Locale > Country, Region & Language > Languages > English US (on top) Japanese (beneath) Japanese is needed to write in Japanese using IBus+Anthy. to switch between English (default) and Japanese writing.
          Locale > Country, Region & Language > Languages > English (is on top position followed by) Japanese
          Locale > Spell Checker > Default Language: English US


          Money:
          Currency: Japanese Yen(JPY)
          Currency symbol: ¥

          Other:
          Page size: A4
          Measurement system: Metric
          Byts size units Metric units


          I don't know if it is of help for you but I also used the command: locale -a (from the Ubuntu link you gave me before.)

          Code:
          rost@rost-ThinkPad-X240:~$ locale -a
          C
          C.UTF-8
          de_AT.utf8
          de_BE.utf8
          de_CH.utf8
          de_DE.utf8
          de_LI.utf8
          de_LU.utf8
          en_AG
          en_AG.utf8
          en_AU.utf8
          en_BW.utf8
          en_CA.utf8
          en_DK.utf8
          en_GB.utf8
          en_HK.utf8
          en_IE.utf8
          en_IN
          en_IN.utf8
          en_NG
          en_NG.utf8
          en_NZ.utf8
          en_PH.utf8
          en_SG.utf8
          en_US.utf8
          en_ZA.utf8
          en_ZM
          en_ZM.utf8
          en_ZW.utf8
          ja_JP.utf8
          POSIX
          rost@rost-ThinkPad-X240:~$

          I appreciate your help a lot!!!
          Attached Files
          Last edited by 52ROSt; Jan 14, 2015, 02:41 AM.

          Comment


            #6
            Kubuntu language patch problem ?

            If i add your setlocale.sh then I get mixed language:



            or/and





            I would remove the 'ja' from the 'export LANGUAGE=en:ja:en'
            or disable the setlocale.sh from the KDE System Settings > Startup and Shutdown > Autostart




            An older topic - Wrong language being used in KDE: https://www.kubuntuforums.net/showth...ng-used-in-KDE
            A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
            Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

            Comment


              #7
              Perfect!!!

              You really could simulate what I am seeing at the example of the Muon Package Manager.

              I disabled the setlocale.sh from the KDE System Settings > Startup and Shutdown > Autostart, rebooted the machine and all was fine.

              For learning reasons I wanted to use afterwards your other advice to remove the 'ja' from the 'export LANGUAGE=en:ja:en' remove the 'ja' from the 'export LANGUAGE=en:ja:en'

              However do to what I did first, the setlocale.sh file was completely gone.

              Questions:
              1 - Is it a problem that the setlocale.sh file is completely gone?
              2 - How can I enable this file again to test your 2nd recommendation? (learning reason)

              Thanks a lot for your long lasting support until the problem was solved!

              Comment


                #8
                Q&A

                Questions:
                1 - Is it a problem that the setlocale.sh file is completely gone?
                2 - How can I enable this file again to test your 2nd recommendation? (learning reason)

                (1)

                The setlocale.sh is trying to make sure that the kdesudo invoked applications and non-KDE applications use your locale settings. Some of the non-KDE applications can't find the KDE locale settings and will fall to the system default. This is not problem if you are using the system default language with your desktop.

                (2)

                The script and the Autostart option should be there if you go to the KDE System Settings > Locale > Country/Region & Language and shuffle the language settings and click the 'Apply' button.



                The system configuration update should add the script & autostart setting back (tested with the Kubuntu 14.04/KDE 4.13).

                Another option is to add the script /1/ to ~/.kde/env/ and setup the scrip to autostart from the KDE System Settings > Startup and Shutdown > Autostart.


                1. link to #5: https://www.kubuntuforums.net/showth...l=1#post365154

                and there:
                Code:
                export LANG=en_C.UTF-8
                export LANGUAGE=en:ja:en
                export LC_NUMERIC=en_C.UTF-8
                export LC_TIME=en_C.UTF-8
                export LC_MONETARY=en_C.UTF-8
                export LC_PAPER=en_C.UTF-8
                export LC_IDENTIFICATION=en_C.UTF-8
                export LC_NAME=en_C.UTF-8
                export LC_ADDRESS=en_C.UTF-8
                export LC_TELEPHONE=en_C.UTF-8
                export LC_MEASUREMENT=en_C.UTF-8
                Last edited by Rog132; Jan 14, 2015, 11:22 AM.
                A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
                Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

                Comment


                  #9
                  Hi Rog132, thank you very much for all your help and explanations. My system is now running very fine. I can write Japanese (except for here in this forum) and have all menus in English.

                  Comment


                    #10
                    Thank goodness I've found this thread. I just installed 14.04 LTS and Japanese IME, and I ran into the exact same problem using Konsole. Installing Japanese IME per se is a lot easier now than with 12.04 LTS, which I'm grateful for, but this bug would have been a showstopper for me. Thank you!
                    Registered Linux User: #281828 | Kubuntu User: #22280

                    Kubuntu 18.04 LTS
                    Dell Precision Workstation T5500 (Xeon @ 2.13GHz x 2 / 12 GB RAM)

                    Comment

                    Working...
                    X