I am trying to generate locales with raspi-config

I can't figure out how to tick the box on this interface.

Return, tab, right arrow... they all move the cursor, or bring me to the next screen, but I can't figure out how to add an asterisk into the square brackets

enter image description here

Configuring locales
Locales are a framework to switch between multiple languages and allow users to use their language, country, characters, collation order, etc.

Please choose which locales to generate. UTF-8 locales should be chosen by default, particularly for new installations. Other character sets may be useful for backwards compatibility with
older systems and software.

Locales to be generated:

Here is the default one pre checked: enter image description here

  • @SteveRobillard: Shouldn't this be an answer? :)
    – Seamus
    Commented May 3, 2021 at 20:45

2 Answers 2


Highlight the desired item using the up and down arrows, then use the spacebar to select. Finally either Tab or Enter to complete the form.

  • I can't believe I didn't try space bar! Thank you so much.
    – Alex028502
    Commented May 3, 2021 at 21:56

If raspi-config is difficult and frustrating, there's an easier way!

  1. Open the file /etc/locale.gen in your editor, and un-comment the locale you wish to use. For example:

    sudo nano /etc/locale.gen

If you don't wish to use the default, you may remove it by commenting it; i.e. add the # symbol as the first character in the default line - just as most or all others are.

  1. Run/re-run locale-gen; i.e. at the command line prompt of your shell:

    $ sudo locale-gen

    fwiw, locale-gen is located in /usr/sbin, and included in the default PATH environment

  • "easier"?? in the old days I always found the traditional locale setting one of the most frustrating steps in setting up an OS
    – Milliways
    Commented May 4, 2021 at 2:41
  • 1
    @Milliways Well, on the Pi it's just two commands on the command line, and that's all it takes :) So, easy indeed, IMHO. Commented Jan 6, 2023 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.