Announcement

Collapse
No announcement yet.

Home subfolders in English (not in my locale)

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

    Home subfolders in English (not in my locale)

    Hi all,

    Yesterday I installed kubuntu selecting Catalan as my locale. Installation went well, but I noticed the subfolders in my home directory are named in English.

    I've tried the following (that worked some time ago in a similar situation):

    $ LANG=ca_ES.UTF-8 xdg-user-dirs-update --force

    ... this should change the contents of ~/.config/user-dirs.dirs to this:

    XDG_DESKTOP_DIR="$HOME/Escriptori"
    XDG_DOCUMENTS_DIR="$HOME/Documents"
    XDG_DOWNLOAD_DIR="$HOME/Baixades"
    XDG_MUSIC_DIR="$HOME/Música"
    XDG_PICTURES_DIR="$HOME/Imatges"
    XDG_PUBLICSHARE_DIR="$HOME/Públic"
    XDG_TEMPLATES_DIR="$HOME/Plantilles"
    XDG_VIDEOS_DIR="$HOME/Vídeos"​

    ..but it fails to do so. The names are still in English.

    ¿Does anyone know of a solution?

    Thanks in advance an have a good day.

    #2
    Welcome.

    Is there a file /home/$USER/.config/user-dirs.locale with the content ca_ES ?

    And perhaps man xdg-user-dirs-update (and the pages this man page points to) can additionally help you?
    Last edited by Schwarzer Kater; Oct 22, 2023, 04:37 PM.
    Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
    Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

    get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
    install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

    Comment


      #3
      Hi Schwarzer Kater,

      I tried to change my home folders' names to Catalan in every possible way I could but without success. I gave up and went on to try other distros.Until yesterday, when I installed kubuntu again.

      And I think i found a solution. I'm not completely sure, as I tried MANY things, but here we go:
      1. I changed de contents of /etc/xdg/user-dirs.defaults to the following:
      DESKTOP=Escriptori
      DOWNLOAD=Baixades
      TEMPLATES=Plantilles
      PUBLICSHARE=Públic
      DOCUMENTS=Documents
      MUSIC=Música
      PICTURES=Imatges
      VIDEOS=Vídeos​
      2. Then I ran:
      LANG=ca_ES.UTF-8 xdg-user-dirs-update --force

      ... and it did the trick!

      Thanks a lot

      Comment

      Working...
      X