The officially official Devuan Forum!

You are not logged in.

#1 2023-07-13 15:13:09

jaromil
Member
Registered: 2016-11-28
Posts: 31  
Website

[SOLVED] How to switch language (locale)

Dears, I recently experimented with switching languages on a minimal Devuan installation.

I learned that issuing a convoluted sequence of commands is necessary to switch languages! So I'll document them here, and also, I'll be grateful to anyone who manages to find a more straightforward way to do this.

For example, to switch language to Italian (it_IT.UTF-8), the commands (as root) are:

sed -i -e 's/# en_US.UTF-8 UTF-8/it_IT.UTF-8 UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale LANG=it_IT.UTF-8

Then any user willing to use the Italian language should do the following:

export LANG=it_IT.UTF-8

Am I the only person thinking this is rather convoluted? Does anyone have a better way to do this?

ciao!


Not reading often here, if urgent contact me via E-Mail: J @ Dyne.org
GPG fingerprint: 6113 D89C A825 C5CE DD02  C872 73B3 5DA5 4ACB 7D10

Offline

#2 2023-07-13 16:16:19

andyp67
Member
Registered: 2022-10-30
Posts: 228  

Re: [SOLVED] How to switch language (locale)

come stai

an idea, first try, dpkg-reconfigure console-setup
I do this for font size because I am veteran war photographer WMD eyes damage.
Of course, install fonts.
Also, for me, I like ttf-bitstream-vera,
I go to /etc/fonts and I tar -cvf fonts.avail.tar fonts.avail and I tar -cvf fonts.d.tar fonts.d
so I have created tar backups (try reading them,)
so I can rm -r fonts.avail and fonts.d
which fucks ttf-dejavu all the beeping time,
and does not screw updates

off top head some ideas
andriko

Offline

#3 2023-07-13 16:40:54

andyp67
Member
Registered: 2022-10-30
Posts: 228  

Re: [SOLVED] How to switch language (locale)

I think Bill spent country GDP developing a particular font, something like that.
dpkg-reconfigure console-seup is cool, on the fly, no problem.
Reaching out to most devices, I like to style with font-family:tahoma; although verdana is similar.
I wish we still had ttf-thryomanes.
Stanley knife ttf-dejavu and enjoy the ttf-bitstream-vera experience.
ttf-dejavu is sickening.
Robin Williams The Non-Designer's Design Book is the best, no competition.

Last edited by andyp67 (2023-07-13 16:48:52)

Offline

#4 2023-07-14 01:08:23

tylerdurden
Member
From: /home
Registered: 2018-07-16
Posts: 39  

Re: [SOLVED] How to switch language (locale)

For me, a simple dpkg-reconfigure locales followed by apt update always did the trick if I ever wanted to use another language. apt seems to be fully translated but many man pages aren't. Not much of an issue on the desktop, though, unless you speak Klingon. wink

Offline

Board footer