locale(5) File Formats Manual locale(5) locale - locale localedef(1) . . locale(7) . : escape_char . (\). comment_char . (#). . . copy . LC_COLLATE LC_CTYPE copy . glibc . POSIX : o LC_CTYPE o LC_COLLATE o LC_MESSAGES o LC_MONETARY o LC_NUMERIC o LC_TIME glibc 2.2 GNU C : o LC_ADDRESS o LC_IDENTIFICATION o LC_MEASUREMENT o LC_NAME o LC_PAPER o LC_TELEPHONE locale(7) . LC_ADDRESS LC_ADDRESS . : postal_fmt . : %n name_fmt LC_NAME ( glibc 2.24). %a . %f . %d . %b . %s ( ). %h . %N . %t . %r . %e . %C country_post . %l ( glibc 2.24). %z . %T . %S . %c . 'R' '%' . country_name ( "Deutschland" de_DE). country_post ( CEPT-MAILCODE). country_ab2 (ISO 3166). country_ab3 (ISO3166). country_num (ISO3166). country_car . country_isbn ISBN (). lang_name . lang_ab (ISO639). lang_term (ISO639-2/T). lang_lib (ISO639-2/B). lang_term lang_lib. LC_ADDRESS END LC_ADDRESS. LC_CTYPE LC_CTYPE . : upper . A Z . cntrl digit punct space. lower . a z . cntrl digit punct space. alpha . upper lower . cntrl digit punct space. digit . 0 9. . space . upper lower alpha digit graph xdigit. . cntrl . upper lower alpha digit punct graph print xdigit. punct . upper lower alpha digit cntrl xdigit . graph . upper lower alpha digit xdigit punct . cntrl. print . upper lower alpha digit xdigit punct . cntrl. xdigit . . : 0 9 a f A F. blank blank. . charclass . toupper . , . tolower . tolower toupper. map totitle . class . charconv . outdigit . map to_inpunct . map to_outpunct . translit_start . include . . . . default_missing . include ( ). default_missing . translit_end . LC_CTYPE END LC_CTYPE. LC_COLLATE glibc POSIX ( glibc 2.23). LC_COLLATE . : coll_weight_max . glibc . collating-element . collating-symbol . define string ifdef string / else / endif. reorder-after . reorder-end . reorder-sections-after . reorder-sections-end . script (script). symbol-equivalence . : order_start forward () backward () position (). order_end. LC_COLLATE END LC_COLLATE. LC_IDENTIFICATION LC_IDENTIFICATION . : title ( " "). source . . contact . email . tel ( ) . glibc 2.24 . fax ( ) . glibc 2.24 . language . territory / . audience . application . abbreviation . revision . date . category : (1) (2) (3) LC_*. LC_IDENTIFICATION END LC_IDENTIFICATION. LC_MESSAGES LC_MESSAGES . : yesexpr (yes) . noexpr (no) . yesstr "yes". nostr "no". LC_MESSAGES END LC_MESSAGES. LC_MEASUREMENT LC_MEASUREMENT . : measurement . : 1 . 2 . LC_MEASUREMENT END LC_MEASUREMENT. LC_MONETARY LC_MONETARY . : int_curr_symbol . 4 ISO4217 ( ) . currency_symbol . mon_decimal_point . mon_thousands_sep . mon_grouping . grouping . positive_sign . negative_sign . int_frac_digits int_curr_symbol. frac_digits currency_symbol. p_cs_precedes currency_symbol : 0 . 1 . p_sep_by_space currency_symbol . : 0 . 1 . 2 . n_cs_precedes currency_symbol . p_cs_precedes. n_sep_by_space currency_symbol . p_sep_by_space. p_sign_posn positive_sign : 0 currency_symbol int_curr_symbol. 1 currency_symbol int_curr_symbol. 2 currency_symbol int_curr_symbol. 3 currency_symbol int_curr_symbol. 4 currency_symbol int_curr_symbol. n_sign_posn negative_sign . p_sign_posn. int_p_cs_precedes int_curr_symbol . p_cs_precedes. int_n_cs_precedes int_curr_symbol . p_cs_precedes. int_p_sep_by_space int_curr_symbol . p_sep_by_space. int_n_sep_by_space int_curr_symbol . p_sep_by_space. int_p_sign_posn positive_sign . p_sign_posn. int_n_sign_posn negative_sign . p_sign_posn. LC_MONETARY END LC_MONETARY. LC_NAME LC_NAME . name_fmt . . : name_fmt . : %f () . %F . %g . %G . %l . %o . %m () . %M () . %p . %s "". %S "." ".". %d FDCC. %t . name_gen . name_mr . name_mrs . name_miss . name_ms . LC_NAME END LC_NAME. LC_NUMERIC LC_NUMERIC . : decimal_point . thousands_sep . grouping . . . . -1 ( ) . -1 . LC_NUMERIC END LC_NUMERIC. LC_PAPER LC_PAPER . : height . width . LC_PAPER END LC_PAPER. LC_TELEPHONE LC_TELEPHONE . : tel_int_fmt . : %a ( "00"). %A . %l ( ). %e ( ). %c . %C . %t . tel_dom_fmt . tel_int_fmt. int_select . int_prefix . LC_TELEPHONE END LC_TELEPHONE. LC_TIME LC_TIME . : abday . week ( ). (NOTES). day . week ( ). (NOTES). abmon . mon . d_t_fmt ( strftime(3)). d_fmt ( strftime(3)). t_fmt ( strftime(3)). am_pm am pm. /. t_fmt_ampm ( strftime(3)) 12 . /. era . : direction:offset:start_date:end_date:era_name:era_format : direction + -. + start_date end_date. - . offset start_date %Ey ( strptime(3)). start_date yyyy/mm/dd. 1 . end_date yyyy/mm/dd -* +*. -* . +* . era_name %EC ( strptime(3)). era_format %EY ( strptime(3)). era_d_fmt %Ex ( strptime(3)). era_t_fmt %EX ( strptime(3)). era_d_t_fmt %Ec ( strptime(3)). alt_digits . week : (7 ) ( ) (4 ). 19971130 19971201 . (NOTES). first_weekday ( glibc 2.2) day . 1 week. (NOTES). first_workday ( glibc 2.2) day. 2. (NOTES). cal_direction : 1 . 2 . 3 . date_fmt date(1) ( strftime(3)). LC_TIME END LC_TIME. /usr/lib/locale/locale-archive . /usr/share/i18n/locales (locale). POSIX.2. GNU C abday day week first_weekday first_workday https://sourceware.org/glibc/wiki/Locales : o week abday day. o first_weekday abday day. o glibc week 19971130 () abday day first_weekday first_workday 1 2 . iconv(1), locale(1), localedef(1), localeconv(3), newlocale(3), setlocale(3), strftime(3), strptime(3), uselocale(3), charmap(5), charsets(7), locale(7), unicode(7), utf-8(7) 3 . . : . 6.18 8 2026 locale(5)