This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with localizations
#1
Trying to Americanize the RPI and I'm getting errors. I have an RPI 4, 4GB ram and using SDcard. I have a Sailor HAT attached, and when setting up the device I used both Sailor HAT's and Openplotter's setup guides.

I was able to set the locale to en_US.UTF-8 UTF-8 using these instructions:

Code:
perl -pi -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen

   Run locale-gen en_US.UTF-8
   Run update-locale en_US.UTF-8

but I haven't been able to get a regular old Dell keyboard to work with correct keystrokes, for one thing. If I do:
sudo dpkg-reconfigure locales ,
I get:

Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
       LANGUAGE = (unset),
       LC_ALL = (unset),
       LANG = "en_GB.UTF-8"
   are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory

So I would like to get that configured correctly.  In
/etc/default/locale I have

#  File generated by update-locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8


I suppose I could live with it as is, but ...

thanks for any help, JD

[edit] In the time since I've posted this I did a bunch of googling and fiddling and at least got my keyboard sorted out. So that is good.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)