XDG "Desktop" item not translated on Live CD

Bug #885086 reported by Märt Põder on 2011-11-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
xdg-user-dirs (Ubuntu)

Bug Description

When I switch the language on my Oneiric Live CD, other XDG directories are translated except the "Desktop" item. When I have a look inside ~/.config/user-dirs.dirs, the string is untranslated (other strings in the file are translated all right). If I run xdg-user-dirs-update, ~/.config/user-dirs.dirs is updated to the correct translation. So I suppose that the default Live CD user is created by some not-localized hackish solution.

If this seems not so important, since installed systems have the "Desktop" directory translated all right (at least I hope so, because my system has), it certainly affects all Ubuntu localized Live-CDs and makes them fail the basic "translated or not surface check".

Gabor Kelemen (kelemeng) wrote :

I can see this too.
I found the following facts:
- if you run xdg-user-dirs-update after removing the .config/user-dirs.dirs file, it regenerates it without translating the ~/Desktop name, but everything else is translated.
- if you run xdg-user-dirs-update --force, the ~/Desktop name is translated too.
- /etc/X11/Xsession.d/60xdg-user-dirs-update runs xdg-user-dirs-update without the --force option.

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Changed in xdg-user-dirs (Ubuntu):
status: New → Confirmed
summary: - XDG "Desktop" item not translated on Oneric Live CD
+ XDG "Desktop" item not translated on Live CD
tags: added: i18n

I see this behavior in a regular install of Raring, *not* using a live cd:


If a user has no ~/.config/user-dirs.dirs, it will be created at login (or by calling "xdg-user-dirs-update"). However, this translates ony some of the names to the current locale. In my case (German locale), for example it translates

Music -> Musik
Pictures -> Bilder

however, the following names will *not* get translated:


These names will only get translated by calling "xdg-user-dirs-update --force". I believe that partial translation of names is a bug.
Could someone please confirm that this happens in a regular install of raring?

Steps to reproduce:
1. delete your ~/.config/user-dirs.dirs and ~/.config/user-dirs.locale
2. change to the German locale using the system menu
3. log out and log in
4. cat ~/.config/user-dirs.dirs and observe that only some of the names have been translated to German

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers