Announcement

Collapse
No announcement yet.

Partially localized KDE + damaged filenames after some locale changes

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

    Partially localized KDE + damaged filenames after some locale changes

    Hi,
    I tried to set my environment to use some English settings because of one program needed to control one measuring device (written probably in VB, runs ok using Wine). First I just changed date formats while retaining Czech Republic as country and Czech as preferred language. However, I was still unable to run the program so I temporarily set U.S. and just changed preferred lang. to Czech.

    Unfortunately, after reboot, I have KDE partially in English (just a minor issue but also would like to solve it) and also damaged folder and filenames using national characters - see following screenshots:



    On the other way, the system correctly displays existing files with filenames containing Czech characters from other sources and also the left Konqueror toolbar with Places is OK. Is there any way to repair the files and take back fully localized KDE without need to delete all KDE settings?

    thanks much
    Dell Latitude E5510, Intel i3, Kubuntu 16.04 Xenial Xerus (LTS)

    #2
    Earlier Kubuntu Forums - may or may not help:

    - http://www.kubuntuforums.net/showthr...ot-Locale-quot
    - http://www.kubuntuforums.net/showthr...ng-used-in-KDE
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      solved :-)

      thanks for hint,
      I tried the command but received error message:

      Code:
      juhele@Latitude:~$ sudo dpkg-reconfigure locales
      [sudo] password for juhele: 
      perl: warning: Setting locale failed.
      perl: warning: Please check that your locale settings:
              LANGUAGE = "cs:en",
              LC_ALL = (unset),
              LANG = "cs_CZ.ISO-8859-1"
          are supported and installed on your system.
      perl: warning: Falling back to the standard locale ("C").
      locale: Cannot set LC_CTYPE to default locale: No such file or directory
      locale: Cannot set LC_MESSAGES to default locale: No such file or directory
      locale: Cannot set LC_ALL to default locale: No such file or directory
      Generating locales...
        cs_CZ.UTF-8... done
        en_AG.UTF-8... up-to-date
        en_AU.UTF-8... up-to-date
        en_BW.UTF-8... up-to-date
        en_CA.UTF-8... up-to-date
        en_DK.UTF-8... up-to-date
        en_GB.UTF-8... up-to-date
        en_HK.UTF-8... up-to-date
        en_IE.UTF-8... up-to-date
        en_IN.UTF-8... up-to-date
        en_NG.UTF-8... up-to-date
        en_NZ.UTF-8... up-to-date
        en_PH.UTF-8... up-to-date
        en_SG.UTF-8... up-to-date
        en_US.UTF-8... up-to-date
        en_ZA.UTF-8... up-to-date
        en_ZM.UTF-8... up-to-date
        en_ZW.UTF-8... up-to-date
      Generation complete.
      juhele@Latitude:~$ sudo apt-get --reinstall install language-pack-cs
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libqgis1.9.0 libqscintilla2-9 libqscintilla2-translations linux-headers-3.8.0-19 linux-headers-3.8.0-19-generic
        linux-headers-3.8.0-21 linux-headers-3.8.0-21-generic linux-headers-3.8.0-22 linux-headers-3.8.0-22-generic
        linux-image-3.8.0-19-generic linux-image-3.8.0-21-generic linux-image-3.8.0-22-generic linux-image-extra-3.8.0-19-generic
        linux-image-extra-3.8.0-21-generic linux-image-extra-3.8.0-22-generic python-dateutil python-egenix-mxdatetime
        python-egenix-mxtools python-matplotlib python-matplotlib-data python-psycopg2 python-pyparsing python-qscintilla2 python-tz
      Use 'apt-get autoremove' to remove them.
      0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
      Need to get 1980 B of archives.
      After this operation, 0 B of additional disk space will be used.
      Get:1 http://cz.archive.ubuntu.com/ubuntu/ raring/main language-pack-cs all 1:13.04+20130418 [1980 B]
      Fetched 1980 B in 1s (1070 B/s)             
      perl: warning: Setting locale failed.
      perl: warning: Please check that your locale settings:
              LANGUAGE = "cs:en",
              LC_ALL = (unset),
              LANG = "cs_CZ.ISO-8859-1"
          are supported and installed on your system.
      perl: warning: Falling back to the standard locale ("C").
      locale: Cannot set LC_CTYPE to default locale: No such file or directory
      locale: Cannot set LC_MESSAGES to default locale: No such file or directory
      locale: Cannot set LC_ALL to default locale: No such file or directory
      (Reading database ... 303697 files and directories currently installed.)
      Preparing to replace language-pack-cs 1:13.04+20130418 (using .../language-pack-cs_1%3a13.04+20130418_all.deb) ...
      Unpacking replacement language-pack-cs ...
      Setting up language-pack-cs (1:13.04+20130418) ...
      juhele@Latitude:~$
      However, I found more info here and finally had success. I followed the advice to modify the file locale in:
      Code:
      /etc/default
      from source containing only:
      Code:
      LANG="cs_CZ.UTF-8"
      to:
      Code:
      LANG="cs_CZ.UTF-8"
      LANGUAGE="cs_CZ:en"
      LC_CTYPE="cs_CZ.UTF-8"
      LC_NUMERIC="cs_CZ.UTF-8"
      LC_TIME="cs_CZ.UTF-8"
      LC_COLLATE=cs_CZ.UTF-8
      LC_MONETARY="cs_CZ.UTF-8"
      LC_MESSAGES=cs_CZ.UTF-8
      LC_PAPER="cs_CZ.UTF-8"
      LC_NAME="cs_CZ.UTF-8"
      LC_ADDRESS="cs_CZ.UTF-8"
      LC_TELEPHONE="cs_CZ.UTF-8"
      LC_MEASUREMENT="cs_CZ.UTF-8"
      LC_IDENTIFICATION="cs_CZ.UTF-8"
      and after reboot everything is ok. :-)
      Dell Latitude E5510, Intel i3, Kubuntu 16.04 Xenial Xerus (LTS)

      Comment

      Working...
      X