Re: customise internationalization
- Date: Wed, 16 Jan 2019 17:45:58 -0500
- From: Roberto C. Sánchez <roberto@xxxxxxxxxx>
- Subject: Re: customise internationalization
On Wed, Jan 16, 2019 at 11:38:52PM +0100, Andreas Berglund wrote:
> 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.
Roberto C. Sánchez