OpenMarine

Full Version: problem with localizations
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.