[PATCH v2 1/1] localedata: Add Hunsrickisch locale for Brazil (hrx_BR)

João Garcez joangarcez2100@gmail.com
Tue Mar 24 04:34:48 GMT 2026


On 3/23/26 21:49, Carlos O'Donell wrote:

Hi Carlos,

Thank you for the review! I'll send a patch with the appropriate changes 
soon.

> Garccez,
> 
> Thank you for your interest in adding a locale.
> 
> Out of curiosity do you have a submission already under way for CLDR?

Regarding CLDR, yes, I have been working there :). Hunsrik has already 
been accepted into the Survey Tool and is expected to be out in v50 with 
Basic coverage.
> May you please use DCO to sign off these files?
> 
> Please see this checklist:
> https://www.sourceware.org/glibc/wiki/Contribution%20checklist
> 
>>
>> ---
>>   localedata/SUPPORTED      |   1 +
>>   localedata/locales/hrx_BR | 111 ++++++++++++++++++++++++++++++++++++++
>>   2 files changed, 112 insertions(+)
>>   create mode 100644 localedata/locales/hrx_BR
>>
>> diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
>> index 567ea85580..41cfcd6c29 100644
>> --- a/localedata/SUPPORTED
>> +++ b/localedata/SUPPORTED
>> @@ -261,6 +261,7 @@ hif_FJ/UTF-8 \
>>   hne_IN/UTF-8 \
>>   hr_HR.UTF-8/UTF-8 \
>>   hr_HR/ISO-8859-2 \
>> +hrx_BR.UTF-8/UTF-8 \
> 
> OK.
> 
>>   hsb_DE/ISO-8859-2 \
>>   hsb_DE.UTF-8/UTF-8 \
>>   ht_HT/UTF-8 \
>> diff --git a/localedata/locales/hrx_BR b/localedata/locales/hrx_BR
>> new file mode 100644
>> index 0000000000..f269707097
>> --- /dev/null
>> +++ b/localedata/locales/hrx_BR
>> @@ -0,0 +1,111 @@
> 
> 
> 
> 
>> +comment_char %
>> +escape_char /
> 
> May you please add the standard header here?
> ~~~
> 
> % This file is part of the GNU C Library and contains locale data.
> % The Free Software Foundation does not claim any copyright interest
> % in the locale data contained in this file.  The foregoing does not
> % affect the license of the GNU C Library as a whole.  It does not
> % exempt you from the conditions of the license if your use would
> % otherwise be governed by that license.
> 
> ~~~
>> +
>> +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>> +% Hunsrickisch (hrx) locale for Brazil
> 
> Is this "Hunsrückisch?"

Regarding the language name: "Hunsrickisch" is the native 
self-designation used by speakers of the language in Brazil, without the 
umlaut. "Hunsrückisch" refers to the German dialect in Germany. In 
English, it would be "Hunsrik".
> 
>> +% Source: João V. Garcez
>> +% Language: Hunsrickisch (Riograndenser Hunsrickisch)
>> +% Territory: Brazil
>> +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>> +
>> +LC_IDENTIFICATION
>> +title      "Hunsrickisch locale for Brazil"
>> +source     "João V. Garcez"
>> +address    ""
>> +contact    ""
>> +email      ""
> 
> Do you have a contact email for the locale so we can follow up if
> there are further discussions?

Yes, I have added an e-mail in my next patch :).
>> +tel        ""
>> +fax        ""
>> +language   "Hunsrickisch"
>> +territory  "Brazil"
>> +revision   "0.1"
>> +date       "2026-03-20"
>> +%
>> +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 "i18n"
>> +END LC_CTYPE
>> +
>> +% There is no Hunsrik-specific way of writing these 3 below. 
>> Hunsrickisch speakers use Brazilian Portuguese standards.
>> +LC_COLLATE
>> +copy "pt_BR"
>> +END LC_COLLATE
>> +
>> +LC_MONETARY
>> +copy "pt_BR"
>> +END LC_MONETARY
>> +
>> +LC_NUMERIC
>> +copy "pt_BR"
>> +END LC_NUMERIC
>> +
>> +LC_MESSAGES
>> +yesexpr "^[+1iIjJyY]"
>> +noexpr  "^[-0nN]"
>> +yesstr  "ia"
>> +nostr   "nee"
>> +END LC_MESSAGES
>> +
>> +LC_TIME
>> +abday   "Su";"Mo";"Di";"Mi";"Do";"Fr";"Sa"
>> +day     
>> "Sunntach";"Montach";"Dinstach";"Mittwoch";"Donnerstach";"Freitach";"Samstach"
>> +abmon   
>> "Jan";"Feb";"Mer";"Apr";"Maa";"Jun";"Jul";"Aag";"Sep";"Okt";"Nov";"Dez"
>> +mon     
>> "Januer";"Februer";"Merz";"April";"Maai";"Juni";"Juli";"Aagust";"September";"Oktover";"November";"Dezember"
>> +d_t_fmt "%a %d %b %Y %T %Z"
>> +d_fmt   "%d/%m/%Y"
>> +t_fmt   "%T"
>> +am_pm   "";""
>> +t_fmt_ampm ""
>> +date_fmt   "%a %-d. %b %H:%M:%S %Z %Y"
>> +week    7;19971130;1
>> +first_weekday 1
>> +END LC_TIME
> 
> 
> 
>> +
>> +LC_PAPER
>> +copy "i18n"
>> +END LC_PAPER
>> +
>> +LC_MEASUREMENT
>> +copy "i18n"
>> +END LC_MEASUREMENT
>> +
>> +LC_ADDRESS
>> +postal_fmt  "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
>> +country_name "Brasilje"
>> +country_ab2  "BR"
>> +country_ab3  "BRA"
>> +country_num  076
>> +country_car  "BR"
>> +country_isbn 85
>> +lang_name    "Hunsrickisch"
>> +lang_ab      ""
> 
> Should the lang_ab be "hrx"?
> 
> hrx is from ISO 639-3 for Hunsrik.

Regarding lang_ab, lang_term and lang_lib: lang_term and lang_lib will 
be set to "hrx" (ISO 639-3). lang_ab should remain empty as hrx has no 
ISO 639-1 two-letter code.
>> +lang_term    ""
>> +lang_lib     ""
>> +END LC_ADDRESS
>> +
>> +LC_TELEPHONE
>> +tel_int_fmt "+%c %a %l"
>> +int_prefix  "55"
>> +int_select  "00"
>> +END LC_TELEPHONE
> 
> Will the LC_TELEPHONE match that used in pt_BR?

Yes, I have applied such change in my next patch.
>> +
>> +LC_NAME
>> +name_fmt  "%d%t%g%t%m%t%f"
>> +name_miss "Fraa"
>> +name_mr   "Herr"
>> +name_mrs  "Fraa"
>> +name_ms   "Fraa"
>> +END LC_NAME
> 
> 

Best regards,
João V. Garcez



More information about the Libc-alpha mailing list