aboutsummaryrefslogtreecommitdiff

Readme for locale-en_BS

locale-en_BS upstream

This is an original package. It contains merely the customized locale for GNU C Library that I prefer.

Reason for existing

To practice with locales, as well as make the default date stamps more sane (I'm looking at you, Thunar!).

Alternatives

Use en_US like the majority of the systems in this great nation.

Dependencies

Glibc. The internationalization of other C libraries is undetermined, but also not important for my use case.

Package recipes are available for rpm and dpkg.

Installing

Rpm

Visit the copr package.

Dpkg

Visit the obs package.

Manual

The en_BS file is the bare locale file. You can use it in your own GNU environment by manually compiling it and setting your system to use it.

Compile the file to the default location (requires root).

sudo localedef -i en_BS -f UTF-8 en_BS.UTF-8

Now the locale is available to use, until the next time glibc is updated. Use the packages for persistence. To use the locale, you can do this on Devuan:

sudo update-locale LC_TIME=en_BS

Or this on Fedora:

sudo localectl set-locale LC_TIME=en_BS

Or alternatively:

echo 'export LC_TME=en_BS.utf8' | sudo tee -a /etc/environment

References

  1. en_RU project: Readme and main Sourceforge page
  2. customization - How can I customize a system locale? - Ask Ubuntu
  3. Set custom locales in Gnome3 (on Fedora 20) - Unix & Linux Stack Exchange
  4. command line - How can I change the default date format (using LC_TIME)? - Ask Ubuntu

Man pages

localedef(1) update-locale(8)

bgstack15