However, on my system locale -a results in errors and the file /etc/local.gen does not exist. Also, the file /etc/local.conf does not exist either. Obviously there is some disconnect here about the assumptions the person who wrote the wiki article is making. What is it?
1 Answer
According to your question, you are looking for /etc/local.conf, however, the configuration is within /etc/locale.conf with a final "e". If it not exist you and you have writing permission on /etc/, then you can just:
echo LANG=en_US.UTF-8 > /etc/locale.conf and that would do it, of course this is an example just with language, you can do what ever locale configuration you'd like.
- yep it was a typo sorry about that, well at least you got an accepted answer :-)Tyler Durden– Tyler Durden2019-01-04 17:04:04 +00:00Commented Jan 4, 2019 at 17:04
-
/usr/share/i18n/SUPPORTEDAlberto Salvia Novella– Alberto Salvia Novella2023-08-04 16:45:26 +00:00Commented Aug 4, 2023 at 16:45 - This is exactly what I have in
/etc/locale.conf, yet I constantly see errors likeperl: warning: Please check that your locale settings:DaWe– DaWe2024-04-22 08:04:02 +00:00Commented Apr 22, 2024 at 8:04