Ubuntumate24.04

HI everyone!
After installing version 24.04 LTS, I experienced the following. In the file manager, the library names are displayed in English in the sidebar, not in Hungarian. I rewrote the contents of the user-dirs.dirs file in the .config directory to Hungarian. Now, however, the files have disappeared from the desktop and nothing happens with the right button, no menu appears. On the other hand, the files are there in the desktop folder.
Does anyone have any ideas?

1 Like

Welcome @Heny67 to the community!

1 Like

Yes, I encountered the same issue.

Although I solved it by doing exactly the same as you did, it might be a better idea to use the command "xdg-user-dirs-update".

On top of this, I also had to install my language because the installer forgot to do that. Please check if your language is installed.

2 Likes

Hi tkn.

I ran the xdg-user-dirs-update command and it did the same for me as you wrote in point 1: "Locale bug 1 (./config/user-dirs.dirs):
Foldernames in home directory do not follow local translation because xdg-user-dirs-update does not work from autostart. Even manually invoked and with a lot of luck it only does the job partially."
It also only partially entered the folder names for me.

Good, now you can correct the /config/user-dirs.dirs by hand and reboot.
There is a big chance that it starts working now. (it did in my case)

1 Like

Unfortunately not. I rewrote the directory names, ran the xdg-user-dirs-update command, which restored the original state:
"(xdg-user-dirs-update
/home/en/Sablonok was removed, reassigning TEMPLATES to homedir
/home/en/Nyílvános was removed, reassigning PUBLICSHARE to homedir
/home/en/KĂ©pek was removed, reassigning PICTURES to homedir
/home/en/VideĂłk was removed, reassigning VIDEOS to homedir)"

The icons no longer appear on the desktop and the right-click menu does not work either.

Did you check if your language is installed ?
I had to install my language seperately because the installer forgot to do it.

1 Like

naturally.
LANG=hu_HU.UTF-8
LANGUAGE=hu
LC_CTYPE="hu_HU.UTF-8"
LC_NUMERIC=hu_HU.UTF-8
LC_TIME=hu_HU.UTF-8
LC_COLLATE="hu_HU.UTF-8"
LC_MONETARY=hu_HU.UTF-8
LC_MESSAGES="hu_HU.UTF-8"
LC_PAPER=hu_HU.UTF-8
LC_NAME=hu_HU.UTF-8
LC_ADDRESS=hu_HU.UTF-8
LC_TELEPHONE=hu_HU.UTF-8
LC_MEASUREMENT=hu_HU.UTF-8
LC_IDENTIFICATION=hu_HU.UTF-8
LC_ALL=

Yes, I see the language environment variables are there.
Could you also check this ?

apt search language-pack-hu

which should output

Sorting... Done
Full Text Search... Done
language-pack-hu/jammy-updates,jammy-updates 1:22.04+20240212 all [installed]
  translation updates for language Hungarian

language-pack-hu-base/jammy-updates,jammy-updates 1:22.04+20240212 all [installed,automatic]
  translations for language Hungarian

Take notice of the word [installed] at the end of the line.
If the word [installed] is not there, it means you still need to install them.

You can also use the GUI for this:

2 Likes

Installed

apt search language-pack-hu
Rendezés... Kész
Keresés a teljes szövegben... Kész
language-pack-hu/noble,noble,now 1:24.04+20240419 all [telepĂ­tve]
Frissített fordítások magyar nyelvhez

language-pack-hu-base/noble,noble,now 1:24.04+20240419 all [telepĂ­tve, automatikus]
Fordítások magyar nyelvhez

1 Like

You have everything done that is needed. It should work.

Let me show my working language settings here as reference:

The file ~/.config/user-dirs.dirs

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Bureaublad"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Sjablonen"
XDG_PUBLICSHARE_DIR="$HOME/Openbaar"
XDG_DOCUMENTS_DIR="$HOME/Documenten"
XDG_MUSIC_DIR="$HOME/Muziek"
XDG_PICTURES_DIR="$HOME/Afbeeldingen"
XDG_VIDEOS_DIR="$HOME/Video's"

And my ~/.config/user-dirs.locale:

nl_NL

My environment variables:

LANGUAGE=nl_NL
LC_ADDRESS=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_MONETARY=nl_NL.UTF-8
GDM_LANG=nl_NL
LC_PAPER=nl_NL.UTF-8
LANG=nl_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_TIME=nl_NL.UTF-8
LC_NUMERIC=nl_NL.UTF-8
2 Likes

I rewrite the directory names and they either remain rewritten after the next start or not.

The file ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/Asztal"
XDG_DOWNLOAD_DIR="$HOME/Letöltések"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/Dokumentumok"
XDG_MUSIC_DIR="$HOME/Zenék"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"

~/.config/user-dirs.locale:
hu_HU

Oh, and there are still no icons on the desktop and nothing works on the right button.

The only thing I can think of is to create a new user and check if that new account does it right.
If it doesn't then there is the possibility that your language packs are not complete yet. See if you can update your language packs or check with a fellow Hungarian if he encounters the same troubles

Sorry, i'm out of ideas. Here is where my knowledge ends. :pensive:

1 Like

That is strange.
did you do a sha256sum check on the install ISO ? it might be corrupt.

1 Like

Yes, the pipe is green.

I just installed ubuntu mate 24.04 on my laptop. After installation I immediately changed the language to Hungarian, installed the Hungarian language file. After rebooting, the directory names in the file manager appear in the same English as on the pc.

the contents of the user-dirs.dirs file:
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

After rewriting the names of the libraries one by one after the restart, this is what is in the file:
XDG_DESKTOP_DIR="$HOME/Asztal"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"

First, do an update, then file a bug here because several people have the same issue:

Maybe you could try this to get it working:

1 Like

The update has been done but the directory names are not displayed in the selected language (installation language:Hungarian) but mostly in English or not displayed at all.

Try this:

1 Like