r/EndeavourOS • u/Latter_Magician9663 • 13d ago
SOLVED How do i change the language fully?
I am currently using Xfce4 on EndeavourOS. I have set the system language entirely to English, but there are a few places where the changes haven't taken effect. For example, on the panel clock, the numerical time displays in English, but the time-of-day indicators (morning, noon, afternoon, or night) appear in my locale's language. How do I fix the system so that it uses English exclusively?
3
u/MacLightning Community Member 13d ago edited 13d ago
Edit /etc/locale.gen, uncomment what's needed, comment what's not. Then run:
sudo locale-gen
Log out then log in again. Check if these output anything:
echo $LANGUAGE
echo $LC_MESSAGES
echo $LANG
1
u/Latter_Magician9663 13d ago
yes.thank you. the locale-gen file had an extra line inside the last block saying "locales generated by calamares" which is my region locale. commented that part, ran sudo locale-gen and the problem is gone. although i am getting blank outputs for echo $LANGUAGE and ECHO $LC_MESSAGES. most probablly i have manually set the $LC_* values, thats why i am getting blank. and the echo $LANGUAGE is i guess undefined. though getting the en_US.UTF-08 correctly for echo $LANG.
1
u/MacLightning Community Member 13d ago
Those are mostly to see if you somehow had those variable overridden somewhere. If they output nothing then you're good.
2
u/Historical-Aerie-169 13d ago
did you change the locale ?
1
u/Latter_Magician9663 13d ago
yes. below is my locale settings.
localectlSystem Locale: LANG=en_US.UTF-8
LC_NUMERIC=en_US
LC_TIME=en_US
LC_MONETARY=en_US
LC_PAPER=en_US
LC_NAME=en_US
LC_ADDRESS=en_US
LC_TELEPHONE=en_US
LC_MEASUREMENT=en_US
LC_IDENTIFICATION=en_US
VC Keymap: us
X11 Layout: us
still i am getting my region locale language on clock.
2
u/Latter_Magician9663 13d ago
!solved
1
u/AutoModerator 13d ago
Excellent! I have updated your post flair to SOLVED.
To help the next person who finds this thread, please make sure the final solution is clearly visible in your post or the comments.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/atlasraven 13d ago
To clarify: are we talking British english or American english?
2
u/Latter_Magician9663 13d ago
the clock panel is using my native languge which is bengali. i dont want to use bengali in anywhere of my system.
•
u/AutoModerator 13d ago
Thanks for posting.
If your issue is solved, please reply with
!solved.Please also read the subreddit rules in the sidebar/community info and check the official EndeavourOS sites:
Please keep it respectful and enjoy the community.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.