are your locales borked?

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

are your locales borked?

#1 Post by manyroads »

If you are experiencing problems with your system locales, this may help you out. It did me. :bagoverhead:

http://eirenicon.org/knowledge-base/locales-repair/
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: are your locales borked?

#2 Post by Jerry3904 »

As opposed to using the "System Locales" tool in MX Tools?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: are your locales borked?

#3 Post by fehlix »

manyroads wrote: Mon Jul 15, 2019 12:11 pm If you are experiencing problems with your system locales, this may help you out. It did me. :bagoverhead:

http://eirenicon.org/knowledge-base/locales-repair/
Please ask how locales are handled with MX Linux, and perhaps have a look into the MX User manual, if you are going to advice how to deal with locale in MX Linux.
Also note "fixing" or re-setting locales might not be needed from user perspective, as s/he can always select the locale during login which stay sticky.
Thanks
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: are your locales borked?

#4 Post by manyroads »

The System Locales in MX Tools did not work for me, for some reason. Yes, it makes me feel special. The above did. I have no idea why there was a difference.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: are your locales borked?

#5 Post by fehlix »

manyroads wrote: Mon Jul 15, 2019 12:59 pm The System Locales in MX Tools did not work for me, for some reason. Yes, it makes me feel special. The above did. I have no idea why there was a difference.
Any idea what you made to your nice system to get it borked :bawling:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: are your locales borked?

#6 Post by manyroads »

fehlix wrote: Mon Jul 15, 2019 1:03 pm
manyroads wrote: Mon Jul 15, 2019 12:59 pm The System Locales in MX Tools did not work for me, for some reason. Yes, it makes me feel special. The above did. I have no idea why there was a difference.
Any idea what you made to your nice system to get it borked :bawling:
I was trying to reduce useless fonts (my Chinese, Japanese, Thai, Georgian, Russian, Ukarinian, etc are all very weak.) Somehow that caused zim (wiki) which I rely on as a memory replacement to get python locales errors. This was the only thing that brought my zim (memory) back. :needcoffee:
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

turtlebay777
Posts: 254
Joined: Sat Apr 14, 2018 2:40 pm

Re: are your locales borked?

#7 Post by turtlebay777 »

What does borked mean?

User avatar
kmathern
Developer
Posts: 2406
Joined: Wed Jul 12, 2006 2:26 pm

Re: are your locales borked?

#8 Post by kmathern »

turtlebay777 wrote: Wed Jul 31, 2019 1:10 pm What does borked mean?
messed up / @#*!-ed up: https://www.urbandictionary.com/define.php?term=borked

User avatar
jj1j1
Posts: 199
Joined: Tue May 28, 2019 3:49 pm

Re: are your locales borked?

#9 Post by jj1j1 »

This vid by dolphin_oracle, https://www.youtube.com/watch?v=MbOYfl1K6wE ,at 5:56, states that if I'm a "one language kind of guy" I can remove all but my language. Sounds good to me, but how to determine which ones to remove? There are several check by default. Two of which start with en_US... which I assume means English_United States. Several others; ar_EG, be_BY, bg_BG are selected... Is there a chart that defines these so one can select/de select what's appropriate?
@dolphin_oracle; good video by the way :thumbup:
True freedom is never asking the question; Am I free?

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: are your locales borked?

#10 Post by fehlix »

jj1j1 wrote: Sun Aug 04, 2019 6:38 pm Is there a chart that defines these so one can select/de select what's appropriate?
Yes. To get a chart of your current enabled locale you can run this from commandline:

Code: Select all

for L in $(locale -a); do printf "%-15s : %s\n" $L   "$(LANG=$L locale  title)"; done
it would show your current locale and description.
Here how it looks in my setup:

Code: Select all

ar_EG.utf8      : Arabic language locale for Egypt
be_BY.utf8      : Belarusian locale for Belarus
bg_BG.utf8      : Bulgarian locale for Bulgaria
C               : ISO/IEC 14652 i18n FDCC-set
ca_ES.utf8      : Catalan locale for Spain
cs_CZ.utf8      : Czech locale for the Czech Republic
C.UTF-8         : C locale
da_DK.utf8      : Danish locale for Denmark
de_CH.utf8      : German locale for Switzerland
de_DE.utf8      : German locale for Germany
el_GR.utf8      : Greek locale for Greece
en_AU.utf8      : English locale for Australia
en_CA.utf8      : English locale for Canada
en_GB.utf8      : English locale for Britain
en_IE.utf8      : English locale for Ireland
en_NZ.utf8      : English locale for New Zealand
en_US           : English locale for the USA
en_US.iso88591  : English locale for the USA
en_US.utf8      : English locale for the USA
es_AR.utf8      : Spanish locale for Argentina
es_BO.utf8      : Spanish locale for Bolivia
es_ES.utf8      : Spanish locale for Spain
es_MX.utf8      : Spanish locale for Mexico
es_NI.utf8      : Spanish locale for Nicaragua
es_PA.utf8      : Spanish locale for Panama
es_PE.utf8      : Spanish locale for Peru
es_US.utf8      : Spanish locale for the USA
es_VE.utf8      : Spanish locale for Venezuela
et_EE.utf8      : Estonian locale for Estonia
eu_ES.utf8      : Basque locale for Spain
fa_IR           : Persian locale for Iran
fa_IR.utf8      : Persian locale for Iran
fi_FI.utf8      : Finnish locale for Finland
fr_BE.utf8      : French locale for Belgium
fr_CA.utf8      : French locale for Canada
fr_CH.utf8      : French locale for Switzerland
fr_FR.utf8      : French locale for France
ga_IE.utf8      : Irish locale for Ireland
he_IL.utf8      : Hebrew locale for Israel
hr_HR.utf8      : Croatian locale for Croatia
hu_HU.utf8      : Hungarian locale for Hungary
is_IS.utf8      : Icelandic locale for Iceland
it_IT.utf8      : Italian locale for Italy
ja_JP.utf8      : Japanese language locale for Japan
ko_KR.utf8      : Korean locale for Republic of Korea
lt_LT.utf8      : Lithuanian locale for Lithuania
lv_LV.utf8      : Latvian locale for Latvia
mk_MK.utf8      : Macedonian locale for Macedonia
nb_NO.utf8      : Norwegian (Bokmal) locale for Norway
nl_BE.utf8      : Dutch locale for Belgium
nl_NL.utf8      : Dutch locale for the Netherlands
nn_NO.utf8      : Nynorsk language locale for Norway
pl_PL.utf8      : Polish locale for Poland
POSIX           : ISO/IEC 14652 i18n FDCC-set
pt_BR.utf8      : Portuguese locale for Brasil
pt_PT.utf8      : Portuguese locale for Portugal
ro_RO.utf8      : Romanian locale for Romania
ru_RU.utf8      : Russian locale for Russia
sk_SK.utf8      : Slovak locale for Slovak
sl_SI.utf8      : Slovenian locale for Slovenia
sq_AL.utf8      : Albanian language locale for Albania
sr_RS           : Serbian locale for Serbia
sr_RS.utf8      : Serbian locale for Serbia
sv_SE.utf8      : Swedish locale for Sweden
tr_TR.utf8      : Turkish locale for Turkey
uk_UA.utf8      : Ukrainian Language Locale for Ukraine
zh_CN.utf8      : Chinese locale for Peoples Republic of China
zh_TW.utf8      : Chinese locale for Taiwan R.O.C.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Locked

Return to “Tips & Tricks by users”