1
wattOS R9 / where are locale settings on (micro)wattOS R9
« on: May 01, 2016, 12:32:52 PM »
Hi,
microwatt R9 just installed.
Say I wish to set wanted locales on microwatt and get rid of the unneeded.
Precisely I'd like to set the locales to fr_FR for the interface, TIME or units settings, and en_US for logs and system-related stuff.
On Arch it's quickly done with:
On Debian (Wheezy) I do the same as in Arch, or
On microwatt (Ubuntu family?) there's no /etc/locale.gen. Also `dpkg-reconfigure locales` does not let me choose the locale (as in R8). Just generates over a dozen unneeded locales.
microwatt R9 just installed.
Say I wish to set wanted locales on microwatt and get rid of the unneeded.
Precisely I'd like to set the locales to fr_FR for the interface, TIME or units settings, and en_US for logs and system-related stuff.
Code: [Select]
~$ locale
LANG=fr_FR.UTF-8
LANGUAGE=fr:en
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER=en_US.UTF-8
Also:Code: [Select]
~$ cat /var/lib/locales/supported.d/local
en_US.UTF-8 UTF-8
fr_FR.UTF-8 UTF-8
On Arch it's quickly done with:
Code: [Select]
~# $EDITOR /etc/locale.gen # uncomment en_US.UTF-8 and fr_FR.UTF-8
~# locale-gen
Generating locales... en_US.UTF-8, fr_FR.UTF-8. # two and that's it
On Debian (Wheezy) I do the same as in Arch, or
Code: [Select]
~$ sudo dpkg-reconfigure locales # choose en_US.UTF-8 and fr_FR.UTF-8
that generates en_US.UTF-8, fr_FR.UTF-8 and that's it. Upon each updates, only these two will be generated when needed.On microwatt (Ubuntu family?) there's no /etc/locale.gen. Also `dpkg-reconfigure locales` does not let me choose the locale (as in R8). Just generates over a dozen unneeded locales.
Code: [Select]
~$ sudo dpkg-reconfigure locales
Generating locales...
en_AG.UTF-8... done
en_AU.UTF-8... done
en_BW.UTF-8... done
en_CA.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
en_HK.UTF-8... done
en_IE.UTF-8... done
SNIP
Wondering how/where to set the system locales on (micro)watt OS?