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: [PATCH] localedata: i18napis: update LC_ADDRESS.country_post


On 06/11/2016 04:17 PM, Mike Frysinger wrote:

i have no problem dropping postal_fmt & country_post from all locales and
telling people to use libaddressinput.  after all, it's not like glibc has
functions to format postal_fmt in the first place -- it's left up to the
app to do the printf logic itself, and iirc, last time i searched, there
was no one doing that.

GNOME uses it to determine the street/dwelling number ordering for formatting results from an Openstreetmap-related location service.

I posit that this is incorrect because it should use the locale of the location, and not the locale of the user. A German address needs to be formatted according to German conventions, even if the user is using an English locale.

So yes, this should not be a blocker for moving to libaddressinput.

Thanks,
Florian


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