#1134592 nano: since 9.0-1 LANG no longer respected

Package:
nano
Source:
nano
Description:
small, friendly text editor inspired by Pico
Submitter:
Martin-Éric Racine
Date:
2026-08-10 14:51:01 UTC
Severity:
normal
#1134592#5
Date:
2026-04-22 06:07:07 UTC
From:
To:
Since nano 9.0-1 came into unstable, LANG is no longer respected. All the menu options and keyboard shortcuts have reverted to US English defaults.

Martin-Éric

#1134592#10
Date:
2026-08-10 13:53:35 UTC
From:
To:
Martin-Éric Racine <martin-eric.racine@iki.fi> wrote:

Works fine for me.  For example, when I do:

   LANG=de_DE.utf8 LC_MESSAGES=es_ES.utf8 LANGUAGE=fi:ro src/nano

most messages are in Finnish and a few in Romanian.

When I do:

   LANG=de_DE.utf8 LC_MESSAGES=es_ES.utf8 LANGUAGE="" src/nano

all messages are in Spanish.

But when I do:

   LANG=fi_FI.utf8 LC_MESSAGES=es_ES.utf8 LANGUAGE=fi:ro src/nano

then all messages are in English, because no fi_FI locale exists on my system.

Most likely something is wrong with your fi_FI.UTF-8 locale.  Try regenerating
it with `locale-gen`.

Or one of the other locale variables is set to something invalid.


Benno

#1134592#15
Date:
2026-08-10 14:49:14 UTC
From:
To:
ma 10.8.2026 klo 16.53 Benno Schulenberg (bensberg@telfort.nl) kirjoitti:

Sure enough, it seems that something had purged the Finnish
localization. I reinstalled and it works now. Closing.

Martin-Éric