Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #204490

Re: customise internationalization

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: customise internationalization
Date 2019-01-17 14:20 +0100
Message-ID <xhfKp-4bA-7@gated-at.bofh.it> (permalink)
References <xh20N-3Ut-5@gated-at.bofh.it> <xh2at-3XP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 16, 2019 at 05:45:58PM -0500, Roberto C. Sánchez wrote:
> On Wed, Jan 16, 2019 at 11:38:52PM +0100, Andreas Berglund wrote:
> > Hi!
> > 
> > I have Swedish language settings. I would like to partly change those. I
> > want Swedish keyboard settings and all the date formats, currency, thousands
> > separators, decimals and so on to conform to Swedish convention. But in
> > programs I want all menus, messages, error messages etc in English. Is this
> > doable, if so how?
> > 
> Have a look at the locale(7) man page.  It describes macros for use by a
> programmer, but each of those macros also corresponds to an environment
> variable.  You can accomplish what you describe by settting all the LC_*
> variables (or perhaps LC_ALL) to your Swedish locale and then setting
> LANG to an English language locale.

Not LC_ALL.  That would override LANG.

export LANG=en_US.utf8          # or en_GB or whatever you prefer
export LC_TIME=sv_SE.utf8
export LC_MONETARY=sv_SE.utf8
export LC_NUMERIC=sv_SE.utf8

You'll have to figure out *where* to do this, and that will depend on
how you login to the system, and also on whether you run some kind of
Desktop Environment that will clobber your environment settings.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

customise internationalization Andreas Berglund <email.lists81@gmail.com> - 2019-01-16 23:40 +0100
  Re: customise internationalization Roberto C. Sánchez <roberto@debian.org> - 2019-01-16 23:50 +0100
    Re: customise internationalization Greg Wooledge <wooledg@eeg.ccf.org> - 2019-01-17 14:20 +0100
      Re: customise internationalization email.lists81@gmail.com - 2019-01-17 22:00 +0100
        Re: customise internationalization Greg Wooledge <wooledg@eeg.ccf.org> - 2019-01-17 22:00 +0100
          Re: customise internationalization Dan Purgert <dan@djph.net> - 2019-01-17 22:20 +0100
          Re: customise internationalization email.lists81@gmail.com - 2019-01-18 22:20 +0100

csiph-web