Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 746827 - sys-libs/glibc : Wrong locale be_BY (LC_MONETARY should be BYN, is BYR)
Summary: sys-libs/glibc : Wrong locale be_BY (LC_MONETARY should be BYN, is BYR)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/PR26727
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-06 04:07 UTC by malabay
Modified: 2020-10-12 12:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description malabay 2020-10-06 04:07:19 UTC
The current code of the Belarusian currency is BYN according to ISO 4217  (https://www.currency-iso.org/en/home/tables/table-a1.html ) 

In glibc-2.31-r6 ( /usr/share/i18n/locales/be_BY) :

LC_MONETARY
int_curr_symbol           "BYR "
currency_symbol           "<U0440><U0443><U0431>"
mon_decimal_point         "."
mon_thousands_sep         "<U202F>"
mon_grouping              3;3
positive_sign             ""
negative_sign             "-"
int_frac_digits           2
frac_digits               2
p_cs_precedes             0
p_sep_by_space            1
n_cs_precedes             0
n_sep_by_space            1
p_sign_posn               1
n_sign_posn               1
END LC_MONETARY

Reproducible: Always

Steps to Reproduce:
1. cat /usr/share/i18n/locales/be_BY
2. 
3.
Actual Results:  

LC_MONETARY
int_curr_symbol           "BYR "

Expected Results:  

LC_MONETARY
int_curr_symbol           "BYN "
Comment 1 Sergei Trofimovich gentoo-dev 2020-10-06 22:35:37 UTC
Curret upstream has the same value: https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/locales/be_BY;h=defb2d782f0efa150eb5ac52e30bfaf13b1c9cb7;hb=HEAD#l105

Please file upstream bug at https://sourceware.org/bugzilla/enter_bug.cgi?product=glibc to sort out if it's a desired change.
Comment 2 malabay 2020-10-12 07:39:31 UTC
I created the bug   upstream :
https://sourceware.org/bugzilla/show_bug.cgi?id=26727
Comment 3 Sergei Trofimovich gentoo-dev 2020-10-12 12:19:51 UTC
Thank you!