To be able to setup the locale within fedora you need systemd. To get around this you can use the following (substitute en, en_US with your locale strings):
dnf -y install glibc-common glibc-locale-source glibc-langpack-en localedef --force -f UTF-8 -i en_US en_US.UTF-8
Additionally, you may want to install your locale resources, sucha as:
dnf -y install langpacks-core-en_US langpacks-en_US man-pages-en_US
And don´t forget to check and change if necessary /etc/locale.conf and /etc/locales.conf
Tried to install first non-US locale and then en_US (en) locale - now it's ignore file /etc/locale.conf and always set en_US.UTF-8 Also command
export LANG=ru_RU.UTF-8
only affects to "locale -a" command and non-localize any other packages.
Thanks for these tips! OK if I incorporate them into the article?
Sure. Go ahead! Notice that I've edited the tip to add a last step.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
To be able to setup the locale within fedora you need systemd. To get around this you can use the following (substitute en, en_US with your locale strings):
Additionally, you may want to install your locale resources, sucha as:
And don´t forget to check and change if necessary /etc/locale.conf and /etc/locales.conf
Tried to install first non-US locale and then en_US (en) locale - now it's ignore file /etc/locale.conf and always set en_US.UTF-8
Also command
export LANG=ru_RU.UTF-8
only affects to "locale -a" command and non-localize any other packages.
Thanks for these tips! OK if I incorporate them into the article?
Sure. Go ahead! Notice that I've edited the tip to add a last step.