This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dolphin and the mixed locales...

Tags: None
(comma "," separated)
begonia
Registered Member
Posts
149
Karma
0
OS

Dolphin and the mixed locales...

Fri Jul 15, 2016 2:08 pm
On my dell latitude e5500 I try to use the Dutch translation of plasma 5.
I had huge problems when I tried to install Kubuntu 16.04 with the Dutch langpack. I made a bug of it and finally they are doing something about it. This seemed a perfect opportunity to switch to Neon.
I am very impressed by Neon.
At this time the package kde-l10n-nl can be used again. But there are a few very strange things left with it.
(goes on below image)

Image

As you can see Dolphin mixes locales. The strange thing is that it behaves correctly on my other machine.
I cleared all caches, I did a clean install, nothing helps.
Does anybody knows a remedy?
User avatar
apachelogger
KDE Developer
Posts
525
Karma
5
OS
xdg-user-dirs-update should fix this

alternatively you can create ~/.config/user-dirs.locale and write nl_NL inside, then run the update program. that should definitely adjust the names.


Annoyed with bbcode since 1999.
begonia
Registered Member
Posts
149
Karma
0
OS
Thank you very much for your answer.
The file ~/.config/user-dirs.locale already existed. And in it was "en-EN" or so. I changed that to nl-NL and after that did xdg-user-dirs-update.
Then I rebooted. To my great surprise it had no effect! ???
begonia
Registered Member
Posts
149
Karma
0
OS
It turns out there also is a file ~/.config/user-dirs.dirs . The content of that file was English language. I deleted this file and again did xdg-user-dirs-update (that is: with the nl_NL in the user-dirs.locale).
xdg-user-dirs-update created a new ~/.config/user-dirs.dirs and it had all Dutch content!

But now Dolphin shows the following exotic picture:

Image
User avatar
Cymaphore
Registered Member
Posts
28
Karma
1
begonia wrote:But now Dolphin shows the following exotic picture


If I remember correctly, the change of the folder locale in a running system causes the creation of new folders and doesn't move that. If that's correct, the other folders are just legacy. In doubt you can check this at the shell:

Code: Select all
ls ~/Bureaublad


Should show the entries of your current desktop,

Code: Select all
ls ~/Desktop


should show the old desktop (or nothing at all). You can do this with the other folders as well.

if you add files on desktop, it should appear in the new folder and not the old one.

If so, you can safely remove the old folders.

Best regards,
Martin




Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Sogou [Bot]