This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: use of Yy+0/Nn-1/etc... in LC_MESSAGES yesexpr/noexpr


On Sun, Apr 17, 2016 at 10:40:58PM -0400, Mike Frysinger wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=15262
> do we have policy/guidance on the use of english chars in the yes/no
> regexes ?  of the 202 locales that define yesexpr/noexpr, 195 of them
> include [Yy]/[Nn], most of which aren't english.
> 
> my take: at the risk of being called anglocentric, we should add
> [Yy] & [Nn] to all locales
> 
> related, what about locales that are in territories that are frequently
> bilingual ?  en_CA for example allows Yes/Oui/No/Non.  CLDR only lists
> one option per language.  it doesn't (currently) define things on a
> per-locale basis.  this is a semi-moot point depending on the Yy/Nn
> question above.
> 
> my take: only list the main language (so en_CA would drop Oui).
> if we can get CLDR to list more, it would be easy to support.
> 
> related, what about langs that have multiple scripts ?  this comes up
> with all the locales that have @latin or @devanagari or @cyrillic.
> for yesexpr, sr_RS uses [????Dd] and sr_RS@latin uses [Dd].
> 
> my take: i can go either way: we could have every lang support all the
> alternative scripts (so sr_RS@latin would add ????), or we could try and
> figure out which script is the "main" one and have it import all its
> alternatives (so the sr_RS examples would stay the same).
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=15263
> what about [+1]/[-0] ?  this is what the i18n definition uses, and what
> about 7 others do as well.  should we include those everywhere too ?
> 
> my take: we should add [+1]/[-0] to all locales
> -mike

My take we should always add Yy/Nn as long as it is unambigeous.
I personally have benefiits from this as I sometimes run  in Danish locale
and sometimes in an English locale.

Also for bilinggual countries you should allow languages, as in Canada
both the English and french values, even for the en_CA locale.
The yes/no answers sit in the fingers, so it is a convenience to
users to allow theses values, and it is also a cultural convention.

best regards
Keld

And also 1/0 as this is a banking standard for yes and no.

best regards
Keld


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]