Re: Bash shell uses wrong language

2025-04-14 Thread Chet Ramey
On 4/14/25 10:56 AM, Kaulkwappe wrote: Hi Chet! Can you confirm that Bash really has translations for 'en_US'? Because you say: If there is no installed locale for en_US [...] No, very few programs do. The Debian 12 system I looked at claims to have en_US installed, but nothing in /usr/share/

Re: Bash shell uses wrong language

2025-04-14 Thread microsuxx
++ On Mon, Apr 14, 2025, 16:46 Chet Ramey wrote: > On 4/13/25 11:37 AM, microsuxx wrote: > > seems to cycle between lc : parts one loose .. > > No, these are all translated strings. > > >> hobbit:~$ LANGUAGE=en_US:es_ES bash --version > >> GNU bash, versión 5.2.15(1)-release (x86_64-pc-linux-gnu

Re: tiny tweak to examples/functions/autoload.v3 (email addresses)

2025-04-14 Thread Chet Ramey
On 4/11/25 7:24 PM, Mark Kennedy wrote: Thanks, I'll update your email address. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/ OpenPGP_signatur

Re: Bash shell uses wrong language

2025-04-14 Thread Kaulkwappe
Hi Chet! Can you confirm that Bash really has translations for 'en_US'? Because you say: > If there is no installed locale for en_US [...] In my scenario en_US is installed – but Bash (or gettext) doesn't seem to find it, which does not make much sense. -- Kaulkwappe --

Re: Make cd built-in as resilient as mkdir -p built-in

2025-04-14 Thread Chet Ramey
On 4/12/25 3:29 AM, Laurent Lyaudet wrote: Le ven. 11 avr. 2025 à 18:11, Chet Ramey > a écrit : On 4/10/25 12:29 PM, Laurent Lyaudet wrote: > Hello :), > > Recently, I noticed during tests that mkdir -p can handle paths beyond > PATH_MAX tha

Re: Bash shell uses wrong language

2025-04-14 Thread Chet Ramey
On 4/13/25 11:37 AM, microsuxx wrote: seems to cycle between lc : parts one loose .. No, these are all translated strings. hobbit:~$ LANGUAGE=en_US:es_ES bash --version GNU bash, versión 5.2.15(1)-release (x86_64-pc-linux-gnu) Note the accented `o'. Copyright (C) 2022 Free Software Founda

Re: Bash shell uses wrong language

2025-04-14 Thread Greg Wooledge
On Mon, Apr 14, 2025 at 10:44:06 -0400, Chet Ramey wrote: > According to > https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap08.html#tag_08_02 > > only gettext(3) looks at LANGUAGE, and that behavior can't be modified by > any calls to setlocale(3). gettext(3) is responsible for ov

Re: Bash shell uses wrong language

2025-04-14 Thread Chet Ramey
On 4/13/25 10:06 AM, Kaulkwappe wrote: Hi! I use Fedora 41 KDE and my first and default language is English (primary) and my second language (secondary) is German. However, the Bash shell wrongfully uses the secondary language: bash --version GNU bash, Version 5.2.3