Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

en_DE: English language locale for Germany

I created this file by merging the locale files en_US and de_DE as suggested here so you don't need to. Feel free to follow this post to modify it further or create your own locale.

All European/German formats are kept (with exception of exchanging decimal point and thousands separator, i.e. "," and "."), only language-related settings are translated (e.g. months and week days).

Installation

Option 1: Generate and add the locale into the locale-archive

  1. Download the en_DE locale file as well as the UTF-8 charmap.
  2. Go to the directory where the files are located and run the command sudo localedef -i en_DE -f UTF-8 en_DE.UTF-8 -c -v to define the locale en_DE.UTF-8 in the locale-archive file found in the locale path. -c forces creation despite of warnings or errors and -v lets you see these, check the manual for more info.
  3. Copy the downloaded locale file to the locales directory by running sudo cp en_DE /usr/share/i18n/locales.
  4. Add the locale as an option to /etc/locale.gen (uncommented of course).
  5. Run sudo locale-gen to generate all the locales specified in the above file.
  6. Tell your system to use the locale, either by choosing it in System Settings or using sudo update-locale LANG="en_DE.UTF-8 which changes the /etc/default/locale file. For other options see this tutorial.

Option 2: Just add the locale as a folder

  1. Download the en_DE locale file as well as the en_DE.UTF-8 folder
  2. Copy the downloaded locale file to the locales directory by running sudo cp en_DE /usr/share/i18n/locales.
  3. Copy the downloaded locale folder to the locale path given by localedef -? (C.UTF-8 should also reside here).
  4. Add the locale as an option to /etc/locale.gen (uncommented of course).
  5. Run sudo locale-gen to generate all the locales specified in the above file.
  6. Tell your system to use the locale, either by choosing it in System Settings or using sudo update-locale LANG="en_DE.UTF-8" which changes the /etc/default/locale file. For other options see this tutorial.

Notes

If these steps do not suffice, try following advice in the two before-mentioned posts here and here.

Important: The above steps only change the locale, not the system language itself. You can change the language by running sudo update-locale LANGUAGE="en_US". This can, however, be overwritten by your System Settings.

Disclaimer

I take no responsibility for any damage caused to your system. Tested on Debian 11.

About

English language locale for Germany

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors