Would you like to react to this message? Create an account in a few clicks or log in to continue.

3 posters
  • Post new topic
  • Reply to topic

To change default locale

nobody
nobody


Posts : 48
Join date : 2024-05-12
Location : Finland

To change default locale Empty To change default locale

Post by nobody 14th May 2024, 9:07 am

It seems that PCLOS Debian does not change default locale automatically, so it need to make by hand by editing /etc/default/locale file.

Code:
sudo nano /etc/default/locale

Default is en_US, but if wanting fi_FI is is

LANG=fi_FI.UTF-8
LC_ALL=fi_FI.utf-8

... Save and quit and log out and in.

Ctrl o
Ctrl x

An another thing which is good  to make is to change $HOME/.config/user-dirs.dirs file

Code:
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"

... to your native language

Also the folders is good to make before logging out after editing user.dirs.dirs file

If Finnish, then

Code:
mkdir Työpöytä Asiakirjat Julkinen Kuvat Lataukset Mallit Musiikki Videot

Also $HOME/.config/user-dirs.locale need to edit.

If Finnish, then

Code:
fi_FI
nobody
nobody


Posts : 48
Join date : 2024-05-12
Location : Finland

To change default locale Empty Re: To change default locale

Post by nobody 15th May 2024, 1:24 am

For getting mate-panel translated to native locale, the next packages must re-install and then log out and log in.

Code:
sudo apt-get --reinstall install mate-panel mate-panel-common mate-applet-appmenu libmate-panel-applet-4-1

To change default locale Kuvaka10
nobody
nobody


Posts : 48
Join date : 2024-05-12
Location : Finland

To change default locale Empty Re: To change default locale

Post by nobody 19th May 2024, 8:30 am

I just tested, and plain locale setup via Control Panel translates only menus, but no more, The rest must do by hand ... or maybe a good script would be make it automatically. Basketball To change default locale Only-m10
Upgreyed
Upgreyed
Admin


Posts : 129
Join date : 2024-05-12
Location : The Sunshine State FL USA

To change default locale Empty Re: To change default locale

Post by Upgreyed 19th May 2024, 10:59 am

nobody wrote:I just tested, and plain locale setup via Control Panel translates only menus, but no more, The rest must do by hand ... or maybe a good script would be make it automatically. Basketball
Yes, I know it will only change in the menus. Since I am only English speaking and locales is a bit foreign to me. Maybe you can come up with something to add to it? Very Happy
avatar
niculinux


Posts : 3
Join date : 2024-06-12
Location : Italy

To change default locale Empty Re: To change default locale

Post by niculinux 12th June 2024, 4:24 am

But if we type
Code:
dpkg-reconfigure locales
and follow onscreen instructions, that will have the same effect?
nobody
nobody


Posts : 48
Join date : 2024-05-12
Location : Finland

To change default locale Empty Re: To change default locale

Post by nobody 12th June 2024, 5:00 am

niculinux wrote:But if we type
Code:
dpkg-reconfigure locales
and follow onscreen instructions, that will have the same effect?

Yes it does, but it does not change directory names to the $HOME/.config/user-dirs.dirs file.

Sponsored content


To change default locale Empty Re: To change default locale

Post by Sponsored content

  • Post new topic
  • Reply to topic

Current date/time is 28th September 2024, 8:03 pm