sudo mv /usr/share/i18n/locales/en_US{,@old}
sudo cp en_US /usr/share/i18n/locales/
sudo dpkg-reconfigure locales
- Reboot
Last active
June 8, 2024 22:57
-
-
Save smmr0/6af25c3368f6723f8f6977800a3b934c to your computer and use it in GitHub Desktop.
Ubuntu: Custom locale
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
comment_char % | |
escape_char / | |
LC_IDENTIFICATION | |
title "Summer's USA English locale" | |
source "" | |
address "" | |
contact "" | |
email "" | |
tel "" | |
fax "" | |
language "English" | |
territory "United States" | |
audience "Summer" | |
revision "1.0" | |
date "2023-05-29" | |
category "i18n:2012";LC_IDENTIFICATION | |
category "i18n:2012";LC_CTYPE | |
category "i18n:2012";LC_COLLATE | |
category "i18n:2012";LC_TIME | |
category "i18n:2012";LC_NUMERIC | |
category "i18n:2012";LC_MONETARY | |
category "i18n:2012";LC_MESSAGES | |
category "i18n:2012";LC_PAPER | |
category "i18n:2012";LC_NAME | |
category "i18n:2012";LC_ADDRESS | |
category "i18n:2012";LC_TELEPHONE | |
category "i18n:2012";LC_MEASUREMENT | |
END LC_IDENTIFICATION | |
LC_CTYPE | |
copy "en_US@old" | |
END LC_CTYPE | |
LC_COLLATE | |
copy "en_US@old" | |
END LC_COLLATE | |
LC_MONETARY | |
copy "en_US@old" | |
END LC_MONETARY | |
LC_NUMERIC | |
copy "en_US@old" | |
END LC_NUMERIC | |
LC_TIME | |
abmon "Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec" | |
mon "January";"February";"March";"April";"May";"June";"July";"August";"September";"October";"November";"December" | |
abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat" | |
day "Sunday";"Monday";"Tuesday";"Wednesday";"Thursday";"Friday";"Saturday" | |
week 7;19971130;4 | |
first_weekday 2 | |
first_workday 2 | |
% Appropriate date and time representation (%c) | |
d_t_fmt "[W%V %a] %FT%T%z (%Z)" | |
% Appropriate date representation (%x) | |
d_fmt "%F" | |
% Appropriate time representation (%X) | |
t_fmt "%T" | |
% Appropriate AM/PM time representation (%r) | |
t_fmt_ampm "" | |
% Appropriate date and time representation for date(1). This is | |
% different from d_t_fmt for historical reasons and has been different | |
% since 2000 when date_fmt was added as a GNU extension. At the end | |
% of 2018 it was adjusted to use 12H time (bug 24046) instead of 24H. | |
date_fmt "%c" | |
% Strings for AM/PM | |
am_pm "";"" | |
END LC_TIME | |
LC_MESSAGES | |
copy "en_US@old" | |
END LC_MESSAGES | |
LC_PAPER | |
copy "i18n" | |
END LC_PAPER | |
LC_NAME | |
copy "en_US@old" | |
END LC_NAME | |
LC_ADDRESS | |
copy "en_US@old" | |
END LC_ADDRESS | |
LC_TELEPHONE | |
copy "en_US@old" | |
END LC_TELEPHONE | |
LC_MEASUREMENT | |
measurement 1 | |
END LC_MEASUREMENT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment