Language settings Issue

[marko@marko-hpenvyx360convertible13ar0xxx ~]$ cat /etc/locale.gen | grep 'hr_HR'
#hr_HR.UTF-8 UTF-8  
#hr_HR ISO-8859-2  
#hr_HR.UTF-8 UTF-8

Edit the file - line in file must read

hr_HR.UTF-8 UTF-8

Remember to save the file :grin:

lol , I saved it every time :slight_smile: sorry, I am wasting your time xd

It looks like this :

#he_IL.UTF-8 UTF-8
#he_IL ISO-8859-8
#hi_IN UTF-8
#hif_FJ UTF-8
#hne_IN UTF-8
hr_HR.UTF-8 UTF-8
#hr_HR ISO-8859-2
#hsb_DE ISO-8859-2
#hsb_DE.UTF-8 UTF-8

Then the file is OK - now run locale-gen

sudo locale-gen
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ sudo locale-gen
[sudo] password for marko: 
Generating locales...
  en_US.UTF-8... done
Generation complete.

Something is wrong… should I reflash new fresh installation of KDE ,this time full not minimal ?

I think your changes are not saved - are you using gui editor - kate?

sudo nano /etc/locale.gen

Then scroll down and ensure the line read as mentioned

Press F2yEnter to save the change.

Then run locale-gen

1 Like

Now is correct :

[marko@marko-hpenvyx360convertible13ar0xxx ~]$ sudo nano /etc/locale.gen
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ sudo locale-gen
Generating locales...
  en_US.UTF-8... done
  hr_HR.UTF-8... done
Generation complete.
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ locale -a
C
en_US.utf8
hr_HR.utf8
POSIX
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: croat
      X11 Layout: hr
       X11 Model: pc101

I rebooted laptop, still is mixed language . Also I checked, eng is set to default…weird

Got it. After few tries , I finally have it settled.

Needed to change lang to something else , than switched back to eng_us and all good now xD

Thanks @linux-aarhus for help

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.