Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
solved set locale unsupported local setting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
borje2
n00b
n00b


Joined: 19 Apr 2024
Posts: 25
Location: Gällivare

PostPosted: Tue Apr 23, 2024 4:21 am    Post subject: solved set locale unsupported local setting Reply with quote

local -a
C
C.utf8
POSIX
sv_SE
sv_SE.iso88591


/etc/env.d/02locale

LANG="sv_SE"
LC_COLLATE="C"


Last edited by borje2 on Tue Apr 23, 2024 6:59 pm; edited 2 times in total
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 204
Location: Somewhere in the 77

PostPosted: Tue Apr 23, 2024 7:33 am    Post subject: Reply with quote

That’s interesting.

Could you use words and sentences, please ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4196
Location: Bavaria

PostPosted: Tue Apr 23, 2024 11:02 am    Post subject: Reply with quote

Edit your /etc/locale.gen and add:
Quote:
sv_SE.UTF-8 UTF-8

Then run locale-gen and select it:
Code:
# locale-gen
# eselect locale list
# eselect locale set X
# env-update
# . /etc/profile


See more here:

https://wiki.gentoo.org/wiki/Localization/Guide#Generating_specific_locales
https://wiki.gentoo.org/wiki/UTF-8
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Configure_locales
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
borje2
n00b
n00b


Joined: 19 Apr 2024
Posts: 25
Location: Gällivare

PostPosted: Tue Apr 23, 2024 2:06 pm    Post subject: Thanks Reply with quote

Thanks Kevin for inform me how to use this forum I am new here

what I try to show was the output from "locale -a"

C
C.utf
POSIX
sv_SE
sv_SE.iso88591

after that the input in /etc/env.d/02locale
LANG="sv_SE"
LC_COLLATE="C"

if I try to emerge anything
I get error message:
"set locale unsupported local setting"

I will try with info I got from Peter when I finish the package
Back to top
View user's profile Send private message
borje2
n00b
n00b


Joined: 19 Apr 2024
Posts: 25
Location: Gällivare

PostPosted: Tue Apr 23, 2024 4:33 pm    Post subject: solved Reply with quote

Thanks Peter
I follow your instructions

nano -w /etc/locale.gen
input sv_SE.UTF-8 UTF-8

locale-gen

eselect locale list
1 C
2 C.utf-8
3 POSIX
4 sv_SE
5 sv_SE.iso88591
6 sv_SE.utf8

eselect locale set 6
env-update
. /etc/profile

no more error
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum