This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

This page describes the localization control panel applet, motivation, design and implementation notes.

Use case

Launching an application in another language, or switching back and from a language for a human being without resorting to using the LC_* environment variables.

User interface

There is a beginning of a localization C applet in gnome-control-center svn, but it's currently just a skeleton application.

It needs to be possible to configure the following localization properties:

TODO: When could LC_CTYPE and LC_COLLATE be useful to configure?

It should be possible to preview the display widgets with examples of some common languages.

Implementation Proposal

There are three main ways of making applications pick up the selected locales:

This proposal is not going to cover the first runtime use case as it's deemed to complex to solve. However, to be able to make this work for newly launched applications we need to propagate the locale settings to current launcher application (eg, gnome-panel). That can be done by:

For future use we need to integrate with gnome-settings-daemon and add gconf keys which contains the state of the localization information the user selected.


2024-10-23 10:59