[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: messages from GNU screen always in English



On Thu, Aug 09, 2018 at 02:27:07PM +0100, Darac Marjal wrote:
> On Thu, Aug 09, 2018 at 01:17:29PM +0000, davidson wrote:
> > It seems that regardless of my locale (LANG=fr_FR.UTF-8,
> > LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
> > always in English.
> > 
> > Has anyone else noticed this, or am I doing something wrong?
> > 
> > For the record, the following briefly illustrates what I do (for
> > example):
> > 
> > $ export LANG=fr_FR.UTF-8 ; screen # set locale for tty and start screen
> > $ exit # quit screen session
> > [screen is terminating]
> > 
> > The termination message above illustrates the unexpected behavior I am
> > talking about.


> "screen is terminating" is only found in one place in the screen source code,
> namely at [screen.c:1824][1]. It's wrapped by the function AddStr() which is
> defined at [display.c:2946][2] and which appears to merely be concerned with
> encoding, rather than translating the string provided.
> 
> So, in summary, "screen is terminating" is hard-coded in english, and you
> should probably raise a wishlist bug requesting it be translated/translatable.


I upgraded to tmux a couple years ago - took a bit of customization
to make it work like screen, but never looked back. I did not a gnu
screen update a year or so ago, but the jazz band is playing at the
tmux corral.


Reply to: