Files
meta-mortsgna/recipes-defaultconfig/locale/default-locale/locale.conf
Andreas Müller 81f899aee6 Another default language rework
* re-add fallback in profile: currently no LANG is set by systemd
* Fix typos in locale.conf

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-04-19 13:30:06 +02:00

22 lines
1012 B
Plaintext
Raw Blame History

# Since systemd 240 LANG="C.UTF-8" is set if no /etc/locale.conf
# is found and mentions that 'This locale is supported by various
# distributions' and 'upstream glibc is going to make it available too' [1].
#
# And oe-core makes situation worse by setting default locale to 'C' (although
# I aske for a change and was ignored as ususal [2]).
#
# [1] https://lists.freedesktop.org/archives/systemd-devel/2018-December/041852.html
# [2] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281327.html
#
# Neither default is working properly:
#
# * german Umlaute cannot be displayed anymore
# * at least menulibre does not start anymore and complains with
# | File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 390, in configure_application_actions
# | label=_('Add _Launcher<65><72><EFBFBD>'),
# | UnicodeDecodeError: 'locale' codec can't decode byte 0xe2 in position 13: decoding error
#
# so set locale default - all our images contain en_US
LANG="en_US.UTF-8"