update-locale LANG=de_DE.UTF-8 Then restart the system or open a new terminal. These environmental variables are used by system libraries and locale-aware applications on the system. Read more → Perform the following steps to permanently change the system locale (for the all users). Supported releases: Ubuntu-15.04, 15.10, 16.04, 16.10, 18.04. Dieser Artikel beschreibt wie die Locales (Spracheinstellungen) in Ubuntu auf der Kommandozeile konfiguriert werden können.

A locale is a set of environmental variables that defines the language, country, and character encoding settings (or any other special variant preferences) for your applications and shell session on a Linux system. Die folgenden Informationen wurden unter Ubuntu … Check which system locales are enabled. You can have several locales set for different parts of your system. They are all related to Ubuntu's default British locale: en_GB.UTF-8 This was causing files checked out of CVS to be in Unicode ( UTF-8 ) format rather than ISO-8859-1 and so the British pound sign (£) was being encoded as a double-byte (rather than single-byte) character in the file. The basic functionality is provided by the locales package, which is installed by default. In this case, proceed as follows: Generate locale Actual locales are installed separately via the language-pack-* packages. $ localectl set-locale LANG=en_US.utf8 Ubuntu used the answers to those questions, in part, to choose a suitable locale for your installation. By using the locale command you can see which locales are currently being used for your active terminal session. Set Default System Locale. Einen ähnlichen Artikel gibt es auch für Debian: Perl warning Setting locale failed unter Debian. In the output above the system locale is set to en_US.UTF-8.

2. sudo locale-gen de_DE.UTF-8 Set locale, this generates also the /etc/default/locale file. Ubuntu-18.04. Most users want a single locale to be used for all aspects of their session. Cool Tip: Create the awesome ASCII banners from the Linux command line and decorate your SSH warning messages!