Date: Sun, 24 Jul 2016 17:57:30 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Andrey Chernov <ache@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r303218 - head/tools/tools/locale/tools Message-ID: <20160724155729.pscfwaqsrxj5wgll@ivaldir.etoilebsd.net> In-Reply-To: <b16fd6fa-4106-8b01-3c4f-2076d4a71f12@freebsd.org> References: <201607231124.u6NBO5aJ003824@repo.freebsd.org> <97566d46-1d37-8c95-f276-f55b190bddbb@freebsd.org> <20160723115244.76vhhzl55qoyw4kf@ivaldir.etoilebsd.net> <2ddb2814-9edf-82a9-350c-aebf34cdb4ab@freebsd.org> <20160723123228.i2tmxaklkoad6vkh@ivaldir.etoilebsd.net> <b16fd6fa-4106-8b01-3c4f-2076d4a71f12@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--sdbmesofzgtbbqep Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 24, 2016 at 06:48:00PM +0300, Andrey Chernov wrote: > On 23.07.2016 15:32, Baptiste Daroussin wrote: > > On Sat, Jul 23, 2016 at 02:58:31PM +0300, Andrey Chernov wrote: > >> On 23.07.2016 14:52, Baptiste Daroussin wrote: > >>> On Sat, Jul 23, 2016 at 02:41:39PM +0300, Andrey Chernov wrote: > >>>> On 23.07.2016 14:24, Baptiste Daroussin wrote: > >>>>> Author: bapt > >>>>> Date: Sat Jul 23 11:24:05 2016 > >>>>> New Revision: 303218 > >>>>> URL: https://svnweb.freebsd.org/changeset/base/303218 > >>>>> > >>>>> Log: > >>>>> Add another hack to add weekday to date format to more locales > >>>>> > >>>>> While here only initialize the iconv converter when needed > >>>>> > >>>>> Modified: > >>>>> head/tools/tools/locale/tools/cldr2def.pl > >>>> > >>>> BTW, is there any progress in generating all collates with -m ${area= } as > >>>> you planned? > >>>> > >>> you mean the @modifier? > >> > >> No, I mean that: > >>>> Perhaps all uk_UA should be generated with -m ${area} too - Ukrainia= ns > >>>> have extended Cyrillics in their alphabet and I am not sure that the= ir > >>>> order match default Unicode order for Cyrillic. The same about be_BY, > >>>> bg_BG and sr_Cyrl_RS. They may match or may not, I don't check such > >>> deeply. > >>>> > >>>> It seems the safest side will be to generate all with -m ${area} > >>>> > >>> Yes that is my plan, except for the 1 or 2 that cannot be generated > >> >from cldr > >>> directly > >> > >=20 > > Nope I haven't made any progress, and I actually did a bunch of tests o= f some > > (honnestly not all locales) trying to get a representative set and coul= d not > > find differnce in ordering between locales generated with -m ${area}. > >=20 > > It would also needs lots of work on the generation tools. > >=20 > > I first need to write a tool that compares collation rules for various = ${area} > > (not done yet) to see how much this is really needed and use it in the > > generation tools. > >=20 > > I will try to do that for 12 if it is really worth it (based on the res= ult from > > that comparison tools) >=20 > IMHO we don't need comparison tools, just blindly adding -m ${area} to > generating of every collate with different area be enough. CLDR may > involve from time to time including national alphabets changes (which > may happen often enough too), so it will be better to not run such tests > every time with new CLDR import, but just the make code which do it > correctly independently (-m ${area}) and forget about it, it will be > much easier to maintain. Moreover, you'll spend more time writing such > testing tool than adding -m ${area} :) >=20 Point taken, still the whole tooling has been made around not doing the -m ${area} thing which I worked around for a few collation, I need to rework (= aka greatly simplify those tools so good direction) to be able to do a full -m ${area}. I will do that for sure for 12.0 Best regards, Bapt --sdbmesofzgtbbqep Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXlOVmAAoJEGOJi9zxtz5arb8P/01fJWKIMh0eRreJNYowoFXS QoFyJpuxycL3v4lnzq/0s5GEy7rSE4HStGo+JyTIixp6u3aV+Z4J0CStuDAl5iHr NETqdraoQ46UE3mx0SNMwQBBAjcBLd7+5xf0f5BjFZV6eNcbO9/NRLwu6KcgSokt BfUM1QeBoB8JN/pFOeRyJahBZgUnqX/6K73FWDUqVLuM4R/wzM6YEFA2mrFZJziv JHoQYsrIRj0mgaZhcqTkcNu2oVYbOkLDE35YmqNezDVyiIa84mQPappDpo4vvi3a 1UMSoFPfDzBDhxBP8LiGfxOjb1OJ8FJJ/TThEvXJsmYjs6rc5vxR3PrOZsFFRdaK DQ7ooCFeqLXOxwo5XfokCeuHEh+5rjLA4uKdCCZ77dodKn4f9Ctu71QsKg0aYgjG JkKlZ4f8s6z5ERPqizsKquzW/04P84wMrFApq/4dUFfvfBLi89YbLISecxoE1vKK NLSvVwjwqcEeaQm1w8S9dIAN1GeZWBeLWLGGOYe3xrjT0JfEg7mT6l3k8DqwnYfM 9MXGN4Yb+qWi7N4siS8ubXk4ChfvFHjzorjO+Wn1F09ulnh/jErJ+828QPfDUTMu JV15LQJHpOGpQ69UoAa4vHMkhllyoo5N1ryjDqRjEe18RBAMZDfkcoHKec3+clel R+HmrrH9t/Px8JdLD0+U =DmXD -----END PGP SIGNATURE----- --sdbmesofzgtbbqep--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160724155729.pscfwaqsrxj5wgll>