Need script Change Computer's Default Language (GDM Language/New User Language)

Asked by komputes

I am writing a script that will have the following functionality:

-Change computer's GDM language
-Change default language for all new users created

Please note that this has to be done via the command line. The language in question is French (France).

Thank you in advance.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jonathan Marsden (jmarsden) said :

Assuming you have already installed the French language support packages:

echo -e 'LANG="fr_FR.UTF-8"\nLANGUAGE="fr_FR:fr"\n' >/etc/default/locale

followed by a reboot, should do both the things you are asking for. It works for me under Ubuntu 8.04 (x86), at least.


Can you help with this problem?

Provide an answer of your own, or ask komputes for more information if necessary.

To post a message you must log in.