Skip to content
home@dennisPersonal Website of Dennis Plöger
  • Home
  • Blog
  • Artist
  • Impressum
  • Datenschutzerklärung

Setting the default locale in Ubuntu

3. Mai 2013

This is merely a reminder for me, as I always have to look it up, when I need it.

Debian (and Ubuntu prior 10.04) had a nice way of selecting and generating system locales. I don’t know exactly why Ubuntu removed that in its latter versions, but „dpkg-reconfigure locales“ doesn’t allow you to select the locale anymore. Of course, selecting the locale via „dpkg-reconfigure locales“ would only add a valid entry into one of the configuration files, but it was nice.

However, there is an easy way of doing this. And as I couldn’t find a nice overview of it somewhere on the internet, here’s mine:

So, to globally set the default locale for a system (let’s take de_DE.UTF-8 as an example) do the following:

* Generate it by issuing

locale-gen de_DE.UTF-8

* Set it using

update-locale LANG=de_DE.UTF-8

* Finally, clean up the system with the command

locale-gen –purge –no-archive

And you’re done.

Tags: linux, locale, ubuntu

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Copyright (c) Dennis Plöger | Theme by ThemeinProgress | Proudly powered by WordPress

Zum Ändern Ihrer Datenschutzeinstellung, z.B. Erteilung oder Widerruf von Einwilligungen, klicken Sie hier: Einstellungen