LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-28-2023, 10:17 AM   #1
moonsilver
LQ Newbie
 
Registered: Jul 2023
Posts: 13

Rep: Reputation: 21
Directories in /home/user are in the rong language


In Kubuntu 23.10 64 bit the directories in /home/user are in the rong language, its in english when it would be swedish?

How can i update so it will be in swedish?

Last edited by moonsilver; 10-28-2023 at 10:22 AM.
 
Old 10-29-2023, 03:29 AM   #3
moonsilver
LQ Newbie
 
Registered: Jul 2023
Posts: 13

Original Poster
Rep: Reputation: 21
Nothing of that worked? Directories in /home/user are still in english.
 
Old 10-29-2023, 07:30 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,143

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Can you post an example of what it is and what you want?
 
Old 10-29-2023, 10:33 AM   #5
moonsilver
LQ Newbie
 
Registered: Jul 2023
Posts: 13

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by smallpond View Post
Can you post an example of what it is and what you want?
Have the directories in /home/user in the right language, now they are in english when they would be in swedish.

Last edited by moonsilver; 10-29-2023 at 10:35 AM.
 
Old 10-29-2023, 10:34 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,526

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
The language setting should be done during the installation, did you not do that or do you now want to change. Using Kubuntu (KDE) should be able to be set by following the instructions at the link below at the KDE site.

https://userbase.kde.org/Tutorials/C...lasma_Language
 
Old 10-29-2023, 10:38 AM   #7
moonsilver
LQ Newbie
 
Registered: Jul 2023
Posts: 13

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by yancek View Post
The language setting should be done during the installation, did you not do that or do you now want to change. Using Kubuntu (KDE) should be able to be set by following the instructions at the link below at the KDE site.

https://userbase.kde.org/Tutorials/C...lasma_Language
I did set the language during the installation, its just the /home/user directories that is in english.
 
Old 10-29-2023, 02:32 PM   #8
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
What are your defaults in /etc/xdg/user-dir.defaults? And what are the contents of your ~/.config/user-dirs.dirs and ~/.config/user-dirs.locale?

Last edited by shruggy; 10-29-2023 at 02:34 PM.
 
Old 10-29-2023, 02:55 PM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by moonsilver View Post
I did set the language during the installation, its just the /home/user directories that is in english.
Could you rename the directories using the command line?

Last edited by jailbait; 10-29-2023 at 02:56 PM.
 
Old 10-30-2023, 11:15 AM   #10
moonsilver
LQ Newbie
 
Registered: Jul 2023
Posts: 13

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by shruggy View Post
What are your defaults in /etc/xdg/user-dir.defaults? And what are the contents of your ~/.config/user-dirs.dirs and ~/.config/user-dirs.locale?
In /etc/xdg/user-dirs.defaults it is:

Code:
# Default settings for user directories
#
# The values are relative pathnames from the home directory and
# will be translated on a per-path-element basis into the users locale
DESKTOP=Desktop
DOWNLOAD=Downloads
TEMPLATES=Templates
PUBLICSHARE=Public
DOCUMENTS=Documents
MUSIC=Music
PICTURES=Pictures
VIDEOS=Videos
# Another alternative is:
#MUSIC=Documents/Music
#PICTURES=Documents/Pictures
#VIDEOS=Documents/Videos
And in ~/.config/user-dirs.dirs it is:

Code:
# 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/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"
And in ~/.config/user-dirs.locale it is:

Code:
sv_SE
 
Old 10-31-2023, 04:35 AM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,526

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Is this something that changed or have these directories been in English since the install?
Have you tried renaming the directories from a terminal as suggested above? Does that change anything?

I'm not familiar with these setting but you might open a terminal and type: whereis locale
That should show you where the files referencing locale are and there are a number of them. If you take a look at them, you may see the problem. If you modify anything, make sure to make a backup of the original before you do that and make notes of any changes you make.

Last edited by yancek; 10-31-2023 at 04:37 AM. Reason: Add info
 
Old 10-31-2023, 11:30 AM   #12
moonsilver
LQ Newbie
 
Registered: Jul 2023
Posts: 13

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by yancek View Post
Is this something that changed or have these directories been in English since the install?
Have you tried renaming the directories from a terminal as suggested above? Does that change anything?

I'm not familiar with these setting but you might open a terminal and type: whereis locale
That should show you where the files referencing locale are and there are a number of them. If you take a look at them, you may see the problem. If you modify anything, make sure to make a backup of the original before you do that and make notes of any changes you make.
I just renamed the directories with mv command and it worked.


Yes, the directories where in english since install.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is rong , CANT ACCESS computer hermaur Linux - Newbie 5 07-19-2015 11:59 AM
[SOLVED] Mount directories to multiple /home directories? the ber Linux - Newbie 5 08-15-2013 06:14 AM
how to stop dhclient when rong password akam2008 Ubuntu 1 03-09-2012 02:28 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration