debian-8 template based AppVM shows up in English (which differs from dom0 and fedora-21 language)

35 views
Skip to first unread message

bock...@googlemail.com

unread,
Jun 18, 2015, 11:27:35 AM6/18/15
to qubes...@googlegroups.com
Hello,

I am using debian-8 templates for my (non-net-)VMs. I noticed that locale is set to en_US, so I tried dpkg-reconfigure locales and built de_DE and set it as default in the template.

However this does not fix this issue. How can I properly change the template to German (or autodetect from dom0) so I have everything localized?

Thanks in advance

Christian

Unman

unread,
Jun 18, 2015, 6:37:51 PM6/18/15
to bock...@googlemail.com, qubes...@googlegroups.com
Hello Christian,

In your template try editing /etc/default/locale
LC_ALL=de_DE.UTF-8
LANG=de_DE.UTF-8

should fix this

unman

Jason M

unread,
Jun 19, 2015, 5:17:22 AM6/19/15
to qubes...@googlegroups.com, bock...@googlemail.com
Here is one way to change locale (in TemplateVM):
localedef -f UTF-8 -i de_DE -c de_DE.UTF-8
update-locale LC_ALL=
de_DE.UTF-8

And here is another (note the lowercase use of utf8)
localedef -f UTF-8 -i de_DE -c de_DE.UTF-8
localectl set-locale LANG=
de_DE.utf8

Unman

unread,
Jun 19, 2015, 12:19:11 PM6/19/15
to Jason M, qubes...@googlegroups.com, bock...@googlemail.com
The second wont fix the problem here, because the individual LC
variables are explicitly set.
Although it's deprecated, LC_ALL is definitely the way to go in this
case.
unman
Reply all
Reply to author
Forward
0 new messages